TEXTFACE(2) Must Be Used with TEXTMODE(1) in Macintosh BASIC (32401)
This article was previously published under Q32401
SUMMARY
TEXTFACE(2), which converts output text to italic, cannot be used with
TEXTMODE(0), in which the text replaces the background when using the
PRINT statement. You must first call TEXTMODE(1), in which the text
overlays (i.e., does not replace) the background, before calling
TEXTFACE(2). If you are using PRINT while TEXTMODE(0) and TEXTFACE(2)
are set, unreadable output will result. TEXTMODE(0) is the default
TEXTMODE.
The DrawText Toolbox routine works correctly in TEXTMODE(0) with
TEXTFACE(2).
This information applies to the Microsoft QuickBASIC Compiler Version
1.00, BASIC Compiler Version 1.00, and BASIC Interpreter Version 3.00
for the Apple Macintosh.
MORE INFORMATION
TEXTFACE(n) is a routine from the Macintosh ROM Toolbox that changes
the character-face type for output purposes.
TEXTMODE(n) is also a routine from the ROM Toolbox. Different values
for TEXTMODE affect how text output to the screen interacts with the
existing contents of the screen.
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB32401 |
|