Total Number of Cards

Scott Kane scott at proherp.com
Fri Jan 27 05:17:32 EST 2006


Hi Ken,


> You got the right response from Phil and Judy, but I'd also 
> like to make you aware of "the cardnames of 
> <stackDescriptor>", which will give you a return-delimited 
> list of the short names of each card, in order that they 
> appear in the stack. This can be really useful, and of course 
> you can also get "the number of lines" of the cardnames as an 
> alternative to "the number of cards" if you want.
> 
>   put the cardNames of this stack
> 
>   put the number of lines of (the cardNames of this stack)
> 
> (of course, I'd use "number of cards" or even "num of cds" 
> because it's shorter, but just giving you other options...)

Very cool!  I love the way you can achieve the same
thing using different approaches in Rev.  Thanks, Ken!  :-)

Scott





More information about the use-livecode mailing list