struct_has_content

The struct_has_content function is used to test whether or not a DATASTRUCTURE variable has ever been used by either accessing or assigning content to one of its members.

 struct_has_content ( datastructure )

The function has one parameter:

  • datastructure, type DATASTRUCTURE; the data structure to be tested.

The result of the function is of type BOOL. If the data structure has never been used, the function returns TRUE; otherwise, it returns FALSE.