Previous Next Up Title Contents Index Functions Index Top Library

CONDITIONAL SKIP ELEMENTS

PXCSEL


CALL SEQUENCE

CALL PXCSEL ( SKCNT, TSTMTD, RDATA, IDATA )

INPUT PARAMETERS

INTEGER SKCNT
Number of elements to skip
INTEGER TSTMTD
Test method
REAL RDATA(*)
Real data
INTEGER IDATA(*)
Integer data

EFFECT

Insert a Conditional Skip Elements element into the open structure.

Depending on the edit mode, a Conditional Skip Elements 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 SKCNT elements if test succeed. Otherwise, the traversal continues with the next element.

If test succeed and if skip_count is greater than the number of remaining elements, the traversal terminates the current structure.

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

ERRORS

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

SEE ALSO

Conditional execute structure, see PXCEXS

Conditional instance structure, see PXCINS

Conditional return, see PXCRTN

Conditional skip to label, see PXCSLB


Previous Next Up Title Contents Index Functions Index Top Library