

Desktop Management Scripting Language › Labels
Labels
A label is an identifier that conforms to the following rules:
- It must be terminated by a colon ":" or begin with a colon ":".
- It can contain letters, digits, or underscores only.
- A label can be used in a GOTO statement to transfer program execution from some point in the program to the statement prefixed by the label.
Note: Labels are not case-sensitive.
Example: Labels
Dim Number As Integer
Number = 1
IF Number=1 Then GOTO end
PRINT "Number=0"
end:
Copyright © 2013 CA.
All rights reserved.
 
|
|