What is a token
Bob Sneidar
bobsneidar at iotecdigital.com
Sun Apr 12 11:51:06 EDT 2020
How about:
if “/*" is among the words of
Bob S
> On Apr 12, 2020, at 8:47 AM, Mark Wieder via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> 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