DEBUG

From Macros Wiki
Revision as of 14:48, 2 August 2010 by ConnerO (talk | contribs)
Jump to navigationJump to search

Up

Command

DEBUG
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>
NINT <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>
CUBE ROOT

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