Challenge: how to set the text of a field

Kay C Lan lan.kc.macmail at gmail.com
Sun Apr 7 04:08:44 EDT 2013


On Sat, Mar 30, 2013 at 5:07 AM, David Bovill <david at vaudevillecourt.tv>wrote:

>
> Now given you are on the first card - issue the following from the message
> box:
>
> put the card_Number of group 1 of card 3  --> answer is 1
> put the card_Number of group 1 of card 2  --> answer is 1
> put the card_Number of group 1 of card 1  --> answer is 1
>
> Now try removing the group from the first card, and do the same again:
>
> put the card_Number of group 1 of card 3  --> answer is 3 - ie correct!
> put the card_Number of group 1 of card 2  --> answer is 2 - ie correct!
> put the card_Number of group 1 of card 1  --> well there isn't one so you
> get an error
>
> So is the hint to a workaround in creating at least one 'dummy' card that
does NOT contain the background group so that your referencing works?



More information about the use-livecode mailing list