DEBUG: Difference between revisions
From Macros Wiki
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 16: | Line 16: | ||
{{ | {{Language}} |
Revision as of 14:46, 2 August 2010
Command
- View the value of variables.
Parameters
- <label>
- Text to be displayed.
- <var name>
- Set the value of a number variable
Example
- DEBUG "deubug example", r1, a1
- DEBUG "deubug example2", a$, q1
- For an example macro see Calc_Geo_Extents
IF <value> <condition> <value> THEN |
FOR <variable> = <start> TO <end> [STEP <value>] |
NEXT <variable> |
CONTINUE |
GOTO <label> |
CALL <macro name> [<arg 1>, <arg2>, <arg3> (max 10 arguments)] |
ON_ERROR <label> |
#INCLUDE <filename> |