So, script "stackname" must be at the 1st line of the textfile.

Ah yes - that is indeed the case - it is quite picky, for two reasons.

The first was that the main use-case I had in mind when implementing it was to replace IDE stacks which were only scripts and thus they would be edited in the IDE.

The second is that the *only* part of the file which the engine retains when it is loaded is the 'name' on the first line and everything on the second line onwards. If text before the 'script' line were allowed then it is not clear how you might access that when the stack is loaded into memory - it would essentially be invisible information in the internal stack structure that would only appear when the stack is saved again.

Mark.

--
Mark Waddingham ~ m...@livecode.com ~ http://www.livecode.com/
LiveCode: Everyone can create apps

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to