next up previous contents
Next: 4.7.10 LOGICAL FUNCTION ZUSEQV(S1, Up: 4.7 Patch GENUTL : Previous: 4.7.8 LOGICAL FUNCTION ZUCINS   Contents


4.7.9 INTEGER FUNCTION ZUCARS ( SET , N ) : CARdinal number of Set

This function counts how many elemts there is in set SET

ARGUMENTS:
INPUT :
    SET  : An integer array interpreted as a set of numbers
            (each bit represents an integer equal to its offset )
    N     : number of words the sets extend over
IMPLICIT INPUTS:
    none
IMPLICIT OUTPUTS:
    none
FUNCTION VALUE:
Number of elemts in SET

CALLED BY :
any routine

CALLED ROUTINE(S):
ZUCINS (see 4.7.8)

(To Check if element IN Set)

SIDE EFFECTS:
none

AUTHORS:
M. Berggren,UFRJ

CREATION DATE:
12-Jul-1996



Mikael Berggren 2003-03-27