Avaya Writing Technician Interface Scripts Bedienungsanleitung Seite 63

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 116
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 62
Command Reference
117382-A Rev. A 2-35
return
You use the return command in a subroutine to return to the calling routine. When
the
return command executes, the script interpreter begins executing the
instructions on the line following the line containing the
gosub command.
Syntax
The return command has the following syntax:
return
Example
The following example shows a script using the gosub and return commands:
:main:
let arg = 1; gosub :SUBROUTINE:
echo “Return value: $return”
goto :EXIT:
:SUBROUTINE:
let return = ($arg*$arg) + $arg + 1
return
:EXIT:
Seitenansicht 62
1 2 ... 58 59 60 61 62 63 64 65 66 67 68 ... 115 116

Kommentare zu diesen Handbüchern

Keine Kommentare