Previous Next Up Title Contents Index Functions Index Top Library

CONDITIONAL RETURN

PCOND_RETURN


CALL SEQUENCE

void pcond_return(
)

EFFECT

Insert a Conditional Return element into the open structure.

Depending on the edit mode, a Conditional Return element is inserted into the open structure after the current element or replaces the current element. The newly inserted element becomes the current element.

Depending on the result of the condition test, this element causes the traversal to terminate for the current structure if test succeed. Otherwise, the traversal continues with the next element.

See CONDITIONAL EXECUTE STRUCTURE for more detail concerning condition test content.

ERRORS

8
Ignoring function, function requires either the state STNOP or the state STOP.

SEE ALSO

Conditional execute structure, see pcond_exec_struct

Conditional instance structure, see pcond_inst_struct

Conditional skip elements, see pcond_skip_elements

Conditional skip to label, see pcond_skip_to_label


Previous Next Up Title Contents Index Functions Index Top Library