< Futurebasic < Language < Reference

DEF DEBUGSTRING Statement

DEF DEBUGSTRING

Statement

✔ Appearance ✔ Standard ✔ Console

Syntax

DEF DEBUGSTRING (stringExpression)

Revised

May 2001 (Release 5)

Description

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

DEF DEBUGNUMBER

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