Refer to Cards

Brian Yennie briany at qldlearning.com
Sat Jul 17 14:36:08 EDT 2004


Roger,

How about something like:

put "myCardName" into tCard
hide object 1 of card tCard
show object 2 of card tCard
...
put "anotherCardName" into tCard
...

> Thanks, but I don't think this will work for what I need.  What I need 
> is a command that forces subsequent lines of script to  act only on a 
> specified card.  Something like:
>
> on someHandler
> 	Do something to look only at card x for the following lines -- this 
> is the line I'm after
>  	hide object 1
> 	show object 2
> 	put "something" into fld 3
> 	etc.
> 	Do something to look only at cd y for the following lines -- this is 
> the line I'm after
> 	hide object 1
> 	show object 2
> 	put "something" into fld 3
> 	etc.
> end someHandler



More information about the use-livecode mailing list