Label                                                                                                      Statement

 

labelName:

 

Description

Define a LABEL within a sub or function that may be transferred to with a GOTO or GOSUB statement. The label must be the only thing on the statement line.

 

Example

if loanType="home" then

  GoTo homeLoanCalculations

Else

  GoTo carLoanCalculations

End if

.........

homeLoanCalculations:

.........

GoTo moreCode

CarLoanCalculations:

........

moreCode:

........