Futurebasic/Language/Reference/def debugstring

From Wikibooks, open books for an open world
Jump to navigation Jump to search

DEF DEBUGSTRING Statement[edit | edit source]

DEF DEBUGSTRING[edit | edit source]

Statement[edit | edit source]

✔ Appearance ✔ Standard ✔ Console

Syntax[edit | edit source]

DEF DEBUGSTRING (stringExpression)

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 string. It waits for your mouse click, then goes away.

DEF DEBUGSTRING 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

LOCAL FN fred

  DEF DEBUGSTRING("The program made it into FN Fred")

END FN

FN fred

Output:

image d/DEF%20DEBUGSTRING02.gif

See Also[edit | edit source]

DEF DEBUGNUMBER