Previous Next Up Title Contents Index Functions Index Top Library

CONDITIONAL SKIP TO LABEL

PCOND_SKIP_TO_LABEL


CALL SEQUENCE

void pcond_skip_to_label(
)

EFFECT

Insert a Conditional Skip To Label element into the open structure.

Depending on the edit mode, a Conditional Skip To Label 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 skip to next LABEL element which identifier is equal to label_id if test succeed. Otherwise, the traversal continues with the next element.

If test succeed and if no match LABEL is encountered before the end of the current structure, the traversal terminates the current structure.

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 return, see pcond_return

Conditional skip elements, see pcond_skip_elements


Previous Next Up Title Contents Index Functions Index Top Library