Comment Lines interfere with continuation lines

Peter M. Brigham pmbrig at
Wed Jun 27 23:17:59 EDT 2012

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
pmbrig at

More information about the Use-livecode mailing list