Brightsign BrightScript 3.0 Reference Manual Manual do Utilizador Página 39

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 75
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 38
34
Example: In each of the following lines, the variable on the left side of the equals operator is assigned the value of the
constant or expression on the right side of the equals operator.
a$="a rose is a rose"
b1=1.23
x=x-z1
END
The END statement terminates script execution normally.
STOP
The STOP statement interrupts script execution, returns a “STOP” error, and invokes the debugger. Use the cont
command at the debugger prompt to continue execution of the script or the step command to execute a single step in the
script.
GOTO
GOTO label
The GOTO statement transfers program control to the line number specified by Label. The GOTO label statement
results in a branching operation. A label is an identifier terminated with a colon on a line that contains no other statements
or expressions.
Example:
mylabel:
print "Hello World"
goto mylabel
Vista de página 38
1 2 ... 34 35 36 37 38 39 40 41 42 43 44 ... 74 75

Comentários a estes Manuais

Sem comentários