Hi Richard, The exact line is: relayer tControlToRelayerID before getLineInfo(pendline+1,"longID")
As mentioned, it compiles fine on OSX under 5.5.4 even though the relayer command doesn't exist in that version. After the startup error on Windows, I tried a compile of the script and got the same error: (Commands: missing ',') near "before", char 18 char 18 is the start of "tControlToRelayerID" Apart from the issue of why it compiles OK on OSX but not Windows which I assume must be a bug of some sort, I'm wondering what "as needed" means? Seems like it's when the stack is opened, not when a handler is executed since there's no way this script could be executing at startup even if running under v6+. I plan on entering a bug report on this but in the meantime I'm hoping someone will come up with a workaround (other than having 2 separate version of the stack!) I know some languages have conditional compile switches but I don't think LC does. Pete lcSQL Software <http://www.lcsql.com> Home of lcStackBrowser <http://www.lcsql.com/lcstackbrowser.html> and SQLiteAdmin <http://www.lcsql.com/sqliteadmin.html> On Thu, Mar 13, 2014 at 5:49 PM, Richard Gaskin <[email protected]>wrote: > Peter Haworth wrote: > >> I should add that the code in question shouldn't even be executing during >> startup and that the script error window includes the heading "error while >> compiling". >> >> Why is any compiling happening at that point? Even if there is a good >> reason for it, why does this situation cause a compilation error on >> Windows >> but not on OSX? >> > > Scripts are dynamically compiled as needed. > > What is the line throwing the error? > > -- > Richard Gaskin > Fourth World > LiveCode training and consulting: http://www.fourthworld.com > Webzine for LiveCode developers: http://www.LiveCodeJournal.com > Follow me on Twitter: http://twitter.com/FourthWorldSys > > _______________________________________________ > use-livecode mailing list > [email protected] > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
