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@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 > ahsoftw...@gmail.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