On Jun 27, 2012, at 8:33 PM, Peter Haworth wrote: > Hi Craig, > I kind of see why it doesn't work. The main surprise was that the line > after the comment was correctly colored, seems like it should have been > colored like a comment, then the problem would have been obvious.
I think that's because according to Bob's analysis, the parser sees "with p1, p2" as a misconstructed line of script, not as a comment. > However, it has made me realise that I should really be doing more > validation of parameters at the start of a function/command. That would > have detected it right away. -- Peter Peter M. Brigham pmb...@gmail.com http://home.comcast.net/~pmbrig _______________________________________________ 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