Jump to content

Futurebasic/Language/Reference/def debugnumber

From Wikibooks, open books for an open world

DEF DEBUGNUMBER Statement

[edit | edit source]

DEF DEBUGNUMBER

[edit | edit source]

Statement

[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax

[edit | edit source]

DEF DEBUGNUMBER (numericExpression)

Revised

[edit | edit source]

May 2001 (Release 5)

Description

[edit | edit source]

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 Also

[edit | edit source]

DEF DEBUGSTRING