Teledyne-lecroy CATC Scripting Language Reference Manual Manual do Utilizador Página 40

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 57
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 39
C
HAPTER
11
Primitives
CATC Scripting Language
36
Resolve()
Resolve( <symbol_name string> )
Parameter Meaning Default Value Comments
symbol_name string
Return value
The value of the symbol. Returns null if the symbol is not found.
Comments
Attempts to resolve the value of a symbol. Can resolve global, constant and local
symbols. Spaces in the symbol_name parameter are interpreted as the ‘_’ (un-
derscore) character since symbol names cannot contain spaces.
Example
a = Resolve( "symbol" );
is equivalent to:
a = symbol;
Trace()
Trace( <arg1 any>, <arg2 any>, ...)
Parameter Meaning Default Value Comments
arg any The number of arguments is variable.
Return value
None.
Comments
The values given to this function are given to the debug console (not in release).
Example
list = ["cat", "dog", "cow"];
Trace("List = ", list, "\n");
would result in the output
List = [cat, dog, cow]
Vista de página 39
1 2 ... 35 36 37 38 39 40 41 42 43 44 45 ... 56 57

Comentários a estes Manuais

Sem comentários