< Futurebasic < Language < Reference

DEF DEBUGNUMBER Statement

DEF DEBUGNUMBER

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

DEF DEBUGNUMBER (numericExpression)

Revised

May 2001 (Release 5)

Description

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

DEF DEBUGSTRING

This article is issued from Wikibooks. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.