info(“labels”)

The info(“labels”) function lists the labels in the current procedure.


Description

This function lists all of the labels in the current procedure. Each label is listed on a separate line: These labels can be used as targets to the goto and shortcall statements. (Note: The labels are not guaranteed to be listed in the same order that they appear in the procedure.)

For example, suppose you have a procedure with several labels like this:

start:
...
task1:
...
task2:
...
task 3:
...
END:

The result of the info(“labels”) function will be something like this:

task2
start
task1
task3
END

See Also


History

VersionStatusNotes
10.0NewNew in this version