Futurebasic/Language/Reference/def debugnumber

DEF DEBUGNUMBER StatementEdit

DEF DEBUGNUMBEREdit

StatementEdit

✔ Appearance ✔ Standard ✔ Console

SyntaxEdit

DEF DEBUGNUMBER (numericExpression)

RevisedEdit

May 2001 (Release 5)

DescriptionEdit

This statement opens a small window in the bottom right corner of the screen and displays a numeric value in decimal, hexadecimal, and binary. It waits for your mouse click, then goes away.

DEF DEBUGNUMBER is a perfect solution for programmers needing quick information who do not wish to go through the process of setting up the debugger and do not have the knowledge required to use MacsBug.

DIM x as INT

DIM y as DOUBLE

x = 100

y = 1.234

DEF DEBUGNUMBER(x * y)

Output:

image d/DEF%20DEBUGNUMBER02.gif

See AlsoEdit

DEF DEBUGSTRING