Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hey everyone,
i know i have to use the debugger option, but i don't know how to continue....
Hi Jhonatan,
I suggest you the Script Syntax and Chart Functions Guide.
When defining a variable, the syntax:
set variablename = string
or
let variable = expression is used.
The Set command assigns the text to the right of the equal sign to the variable, whereas the Let command evaluates the expression. Variables are case sensitive.
To debug a variable you should click on debug mode (data load editor - upper right corner), and you can run the script almost line-by line, and watch the values of variables.
G.
if you wants see you Variables value, try use Trace $(vMyvariable);
i meant if i want to set them , do i just do SET=V....?
Hi Jhonatan,
I suggest you the Script Syntax and Chart Functions Guide.
When defining a variable, the syntax:
set variablename = string
or
let variable = expression is used.
The Set command assigns the text to the right of the equal sign to the variable, whereas the Let command evaluates the expression. Variables are case sensitive.
To debug a variable you should click on debug mode (data load editor - upper right corner), and you can run the script almost line-by line, and watch the values of variables.
G.
Hi Jhonatan,
Just declaring a variable using this: let varWeek = (week(Today()) - 1); -> is evaluated
or set varName = 'My Name is xyz'; -> considered as a string