Special Char Suggestions?

Dar Scott dsc at swcp.com
Wed May 7 22:18:01 EDT 2003


On Wednesday, May 7, 2003, at 11:07 AM, Rob Cozens wrote:

> 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".

Yikes!  I didn't read that right.  First I was trying the parse the 
part to the right of the "to/from" as a Transcript expression and 
couldn't.  Then I saw the quotes and thought it was a literal string 
that is interpreted some how.  Now i realize the bracketed part is 
probably computed.

So...

a|b

...becomes...

item 4 of a

... when b is the fourth field of a.

My function comment makes no sense in that case.

This is much like an array operation.

Dar




More information about the use-livecode mailing list