LiveCode Beginner Question

Mark Wieder mwieder at
Mon May 6 19:27:40 EDT 2013


Monday, May 6, 2013, 7:44:02 AM, you wrote:

> I stupidly typed something like:

> put "label-string: " and someVar after field "foo"

> instead of

> put "label-string: " & someVar after field "foo"

That one's nigh onto impossible to find in any automated way since
they're both valid syntax. They'll pass almost any kind of lint test
you can put them through. As a long shot you might craft some kind of
test that determines whether both the rvalue and lvalue of a bitwise
operator evaluate to a boolean and flag an error if not, but that's
impossible at compile time and hard enough at run time.

-Mark Wieder
 mwieder at

More information about the use-livecode mailing list