								4/20/89  (MW)
GENESIS C functions


NextElement(blockmode,stack)
int blockmode
ElementStack *stack

    NextElement is used in conjunction with the functions
	stack = PutElementStack(parent)
	FreeElementStack(stack)
    to recursively descend an element tree. The root of the tree is
    specified using the PutElementStack routine. This returns a pointer to
    a structure used in subsequent calls to NextElement

    The blockmode argument is either 0 or 1 depending on whether the
    element enabled status is to be ignored or used respectively.
    Following a call to PutElementStack the next call to NextElement will
    return the first child of the parent element.


ElementList *WildcardGetElement(path,blockmode)
char *path
int blockmode

    WildcardGetElement converts a wildcard path specification
    into a list of elements matching that specification. 
    The blockmode argument is either 0 or 1 depending on whether the
    element enabled status is to be ignored or used respectively.


double MSGVALUE(message,slot)
MsgIn	*message
int	slot

    MSGVALUE returns the contents of the specified message slot.

double Clockrate(element)
Element *element

    Clockrate returns the value of the clock associated with the element
    which corresponds to its simulation interval.
    (see section 1.8 Scheduling, and section 1.4 Clocks)

int Clock(element)
Element *element

    Clock is a macro which returns the the clock number associated 
    with the element.

int Size(element)
Element *element

    Size is a macro which returns the number of bytes used by the element

int Type(element)
Element *element

    Type is a macro which returns the name of the object used by the element

