Special Char Suggestions?
Dar Scott
dsc at swcp.com
Fri May 16 17:04:00 EDT 2003
On Friday, May 16, 2003, at 07:39 AM, Rob Cozens wrote:
>> I need to select a single character to be used as a database field
>> reference identifier in the Script Editor.
>
> I'm now scripting SDB to resolve field references at runtime. It
> turns out it doesn't appear to matter what special character I use
> here: the Editor returns syntax errors when applying a handler that
> includes any of the characters I would have chosen in an unquoted
> string.
What about using a character that most of us don't realize can be in a
name? Then document for your developer customers that it should not be
used in names. Or a short sequence of characters.
(I'm not really comfortable with that myself, I lean toward Monte's
idea of thinking up an API that meets your needs. I realize you may
have already wracked your brain trying to come up with an elegant
solution. It seems like there oughta be some cool notation with
arrays, functions and global variables that might work, but that is
easy for we on the sidelines to say.)
Dar Scott
More information about the use-livecode
mailing list