Hi, Somehow, a bracket went missing (Pete...? ;) ). Probably it is obvious, but I'll correct is anyway: "put 1 into x[1" should be "put 1 into x[1]".
-- 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 On 1 okt 2012, at 01:32, Mark Schonewille wrote: > 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 > _______________________________________________ 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