CALL SETNULL Routine
Sets a pointer element of a structure to null.
Syntax
CALL SETNULL(pointer-element);
Required Argument
- pointer-element
-
is a pointer to a structure.
Example
The following example
assumes that the same LINKLIST structure that is described in
Generating a Linked List is defined using PROC PROTO. The CALL SETNULL routine can
be used to set the NEXT element to null:
struct linklist list;
call setnull(list.next);