What is a token

Mark Wieder ahsoftware at sonic.net
Sun Apr 12 11:47:04 EDT 2020

On 4/12/20 12:49 AM, Mark Waddingham via use-livecode wrote:

> If you want to see if a line starts with a multi-line comment then you 
> should do:
>    if word 1 of tLine begins with "/*" then ...

The solution isn't that simple, since multiline comments can begin 
anywhere in a line, as in /* this is the start of one.

And once you take care of that, you'd probably trip over quoted 
literals, as in

if word 1 of tLine begins with "/*" the

  Mark Wieder
  ahsoftware at gmail.com

More information about the use-livecode mailing list