Card

Top  Previous  Next

CARD(setname) reports the count of the total number of elements within the set.  Thus the command

 

number=card(i);

 

will set the parameter number equal to the count of the total elements in i.

Note card works with any sets whether they contain calculated elements or not.