Resolve(), Trace(), Resolve() trace() – Teledyne LeCroy Merlins Wand - CSL manual (CATC Scripting Language Manual) User Manual

Page 42

Advertising
background image

36

CATC Scripting Language for Bluetooth Analyzers

CATC

Manual Ver. 1.21

In the second call to

NextNBits

: starting at bit 11 ( = 6 + 5 ), reads 2 bits (10),

and returns the value 0x2.

Resolve()

Resolve( <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>, ...

)

Return value

None.

Comments

The values given to this function are given to the debug console.

Example

list = ["cat", "dog", "cow"]

Trace("List = ", list, "\n");

would result in the output

List = [cat, dog, cow]

Parameter

Meaning

Default Value

Comments

symbol_name string

Parameter

Meaning

Default Value

Comments

arg any

The number of arguments is variable.

Advertising