This:
on foo
put 1 into x[1
inc "x[1]" // use quotes instead of @
put x[1]
end foo
on inc x
put line -1 of the executionContexts into myContext
set the debugContext to line -2 of the executionContexts
debugDo ("add 1 to" && x)
set the debugContext to myContext
end inc
--
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553
Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other colour
spaces. http://www.color-converter.com
>
> So we have a question: if enough folks find this sort of suggested syntax
> useful, by what syntactic means could we tell the interpreter not to evaluate
> the argument?
>
> --
> 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