A label within the script. The label must be terminated with a colon ":".
Causes the execution of a script to skip to the line after the specified label. A label definition can be anywhere within a script; however, the GOTO command cannot reference a label outside the script in which it is contained.
This script searches for a customer whose last name is 'Smith'. 'If Smith is found, execution will skip to the name_found label.
tbl = table.current()
search_name = "Smith"
while .not. tbl.fetch_eof()
if trim(tbl.last_name) = search_name then
ui_msg_box("Search", "Not Found.")
ui_msg_box("Search", search_name + " has been found.")
Language Reference, Reserved Words
Alpha Five Version 5 and Above