Difference between revisions of "DEBUG"

From Macros Wiki
Jump to: navigation, search
Line 17: Line 17:
  
 
{{Language}}
 
{{Language}}
 +
{{Internal_Macro_Functions}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}
 +
{{}}

Revision as of 09:48, 2 August 2010

Up

Command

DEBUG
DEBUG <label>, <var name> (max 50 variables)


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>
ABS <n>
INT <n>
SQRT <n>
SIN <n>
COS <n>
TAN <n>
ASIN <n>
ACOS <n>
ATAN <n>
LEN <a$>
VAL <a$>
ASC <a$>
LEFT$ <a$>, <n>
RIGHT$ <a$>, <n>
MID$ <a$>, <start>, <n>
LTRIM$ <a$>
RTRIM$ <a$>
TRIM$ <a$>
LCASE$ <a$>
UCASE$ <a$>
CHR$ <n>
ANGLE_LINE <x> <y>

{{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}} {{}}