I am finding that parentheses within strings break value() put value ("Abc" & 45 & "123(def)")
produces Script compile error: Error description: local: not a valid variable or constant name If I escape it as put value ("Abc" & 45 & "123\(def\)") it produces Abc45123 I don't think that either of these is correct, or am I missing something? I am trying to assemble strings which have variable names using custom properties for using in database queries, such as "SELECT foo FROM " & tableName & " WHERE bar > 7;" and in my learned paranoia, I want to wrap each condition with parentheses when I have more than one (I got tired of remembering precedence rules for each language, and which ones are screwy, and . . .) -- Dr. Richard E. Hawkins, Esq. (702) 508-8462 _______________________________________________ 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