getting the number of the current marked card

xbury.cs at clearstream.com xbury.cs at clearstream.com
Fri Dec 17 06:49:36 EST 2004


Hallo Klaus!

Depends on how you sort the cards but that's one cheap trick to
find them...
sort by id of each card
Sort by the marked of each card

Now all cards are sorted by id, all marked cards together andthe 
number of the current card will tell you which it is! 

easy does it!
cheers
Xavier

On 17.12.2004 12:20:53 use-revolution-bounces wrote:
>Hi friends,
>
>has anybody a receipe on how to get the number of the current marked
>card
>in a series of marked cards (obviously :-)?
>
>I want to supply a bg field which tells the user the (relative) number
>of the current
>marked cd like "1 of (the num of marked cds)" after marking some cards
>ind a stack with e.g. 100 cards...
>
>Know what i mean? How can i get this (relative) number?
>Something obvious i am overlooking?
>
>Thanks in advance.
>
>
>Best
>
>Klaus Major
>klaus at major-k.de
>http://www.major-k.de
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>http://lists.runrev.com/mailman/listinfo/use-revolution


-----------------------------------------
Visit us at http://www.clearstream.com
IMPORTANT MESSAGE    Internet communications are not secure and therefore
Clearstream International does not accept legal responsibility for the
contents of this message.    The information contained in this e-mail is
confidential and may be legally privileged. It is intended solely for the
addressee. If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on it,
is prohibited and may be unlawful. Any views expressed in this e-mail are
those of the individual sender, except where the sender specifically states
them to be the views of Clearstream International or of any of its
affiliates or subsidiaries.    END OF DISCLAIMER


More information about the use-livecode mailing list