Visara Master Console Center Scripting Guide Instrukcja Użytkownika Strona 173

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 262
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 172
Chapter 5 Script Commands
Scripting Guide 173
RETURN
Syntax:
RETURN [Expression]
Description:
Returns execution to the calling routine, passing an optional return
value.
Action:
Execution of the current script stops, and resumes with the next
statement in the calling routine— either from a GOSUB command or
from a script call. All variables in a script are released when execution
is stopped. The optional Expression parameter is evaluated and
returned only to a calling script. The calling script can assign the
return value to a variable for further usage.
Parameters:
Expression. Numeric or string expression. Optional. Evaluates to
the value returned to the calling script. If not specified, the value is
null string “”.
Returns:
N/A.
Notes:
1. The RETURN command returns to calling routines in a “last in,
first out” order.
2. An error occurs if the RETURN command is used when no calling
routines exist.
Example:
N/A
See Also:
GOSUB
Przeglądanie stron 172
1 2 ... 168 169 170 171 172 173 174 175 176 177 178 ... 261 262

Komentarze do niniejszej Instrukcji

Brak uwag