Special Char Suggestions?
Geoff Canyon
gcanyon at inspiredlogic.com
Fri May 9 06:52:01 EDT 2003
Rob, FYI, this is exactly the sort of thing the macro mechanism I'm
working on will handle. First release this weekend.
On Wednesday, May 7, 2003, at 10:07 AM, Rob Cozens wrote:
> Hi All,
>
> I need to select a single character to be used as a database field
> reference identifier in the Script Editor.
>
> The goal is to script a Script Editor plugIn (or added menuItem) that
> will pre/post process a control's script to convert SDB data
> dictionary references in the form [recordType][specialKey][dataName]
> to/from "item [ordinal of field dataName in dictionary] of
> recordType". (This assumes the file buffer for any record type is
> identified with the record type identifier.)
>
> The character I select must not conflict with any Transcript operators
> or reserved words, and ideally it must be available on any keyboard.
>
> My three primary candidates are:
>
> "{" : type{name
>
> "}" : type}name
>
> "|" : type|name
>
> Notes:
>
> This notation is local to scripts; it has nothing to do with field
> or variable contents.
>
> The selected character cannot be used unquoted or uncommented for
> any other purpose anywhere in any script containing SDB field
> references.
>
> Thoughts or comments, anyone?
>
> PS: Guess I could also make it user-selectable. :{`)
>
> Rob Cozens
> CCW, Serendipity Software Company
> http://www.oenolog.com/who.htm
>
> "And I, which was two fooles, do so grow three;
> Who are a little wise, the best fooles bee."
>
> from "The Triple Foole" by John Donne (1572-1631)
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
regards,
Geoff Canyon
gcanyon at inspiredlogic.com
More information about the use-livecode
mailing list