Avaya Writing Technician Interface Scripts Manual do Utilizador Página 69

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 122
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 68
Command Reference
114089 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.
The
return command has the following syntax:
return
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:
Vista de página 68
1 2 ... 64 65 66 67 68 69 70 71 72 73 74 ... 121 122

Comentários a estes Manuais

Sem comentários