struct.next

Syntax

pnext = struct.next(p)

Get the next element after p in the list of all structural elements in the model. Will return null if no more links follow. This function should be considered deprecated; it is provided mostly for backwards compatibility with old data files. Instead, see the c loop foreach statement and the struct.list function. See also the struct.head function.

Returns:pnext - the next structural element in the list, or null
Arguments:p - a pointer to a structural element