Microsoft KB Archive/43206

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


How to Align Misaligned Columns in Macintosh Program Output

Article ID: 43206

Article Last Modified on 11/21/2006

This article was previously published under Q43206

SUMMARY

If columns of characters you want to line up in a program's output appear to be misaligned, you must change from a proportional font, such as the default Geneva (3), to a nonproportional (monospaced) font such as Monaco (4). You can do this by using the statement CALL TEXTFONT (n), where n represents the family number for a particular font.

This information applies to Microsoft QuickBASIC Version 1.00, Microsoft BASIC Compiler 1.00, and Microsoft BASIC Interpreter 1.00, 1.01, 2.00, 2.10, and 3.00 for the Apple Macintosh.

More information on TEXTFONT is on Pages 396-397 in the "Microsoft QuickBASIC for Apple Macintosh: Language Reference" manual, on Page 290 in the "Microsoft BASIC Interpreter for Apple Macintosh" manual for Versions 2.x and 3.00, or on Page 420 in the "Microsoft BASIC Compiler for Apple Macintosh" manual for the BASIC 1.00 compiler.


Additional query words: BasicCom MQuickB

Keywords: KB43206