This I would call a bug
Richard Gaskin
ambassador at fourthworld.com
Sat Feb 4 19:10:09 EST 2006
David Bovill wrote:
> Getting the text from a particular card? A background field on a
> particular card? That is you have a stack with several cards and a
> background shared by all the cards...
>
> put the long id of fld 1 of card 2 into someField
> put the text of someField
> answer the text of fld 1 of card 2
>
> These should be the same - no? Well they are not - "the text of
> someField" returns the text of the current card (ie the one displayed)
> and not the text of the second card.
I don't think that's a bug as much as an ambiguous object reference,
since it's the same field object on both cards.
If you want the text of that object from a specific card you could
change line 2 to:
put the text of fld 1 of cd 2
--
Richard Gaskin
Fourth World Media Corporation
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the use-livecode
mailing list