Challenge: how to set the text of a field

Peter Haworth pete at lcsql.com
Fri Mar 29 15:47:01 EDT 2013


David,
This may not be any less inelegant that parsing the long id, but how having
the Title_Text be an array with its keys being either the card number or
the card id?

On Fri, Mar 29, 2013 at 12:30 PM, David Bovill <david at vaudevillecourt.tv>wrote:

> So how can I write a handler to retrun the text of a background group on a
> card other than the current card? The only way I know of is to do some ugly
> manual parsing of the long id of the target, and so extract the card id and
> construct a reference that way - very ugly and in other contexts error
> prone. What we need is something equivalent to:
>
> put the card of the target
> put the number of the card of the target
>
> Any other way of doing this simple task?
>



Pete
lcSQL Software <http://www.lcsql.com>



More information about the use-livecode mailing list