LB# - Label for jump operation or end of DO-loop (Scripting operation)

(11/07/06)

PURPOSE

Allow conditional execution of sections of the SPIDER operation stream by jumping over unwanted operations. Modeled after the FORTRAN 'GOTO' syntax. The label serves as a destination location for the 'GOTO' operation.   Example.

SEE ALSO

ENDDO [End of DO loop (Scripting operation)]
DO [Start of a loop (Scripting operation)]
GOTO [GOTO (Scripting operation)]
IF_GOTO [Conditional jump (Scripting operation)]
IF_THEN [Conditional execution of operations (Scripting operation)]

USAGE

.OPERATION: LB<#>

Where:
1. <#> is an number between 0 and 99 and refers to a previous 'GOTO' or 'DO' Loop operation.

EXAMPLES:

GOTO LB2
~~~~~~~
~~~~~~~
LB2
~~~~~~~
~~~~~~~

<or>

DO LB3 [iter]=1,5
~~~~~~~
~~~~~~~
LB3

NOTES

  1. Use of this statement for delimiting 'DO' Loops is now deprecated. Better to use 'ENDDO' now.

  2. More information on DO-loops.

SUBROUTINES

SPIDER

CALLER

SPIDER

© Copyright Notice /       Enquiries: spider@wadsworth.org