WIDTH "CONS: " or "SCRN:" Uses Only 40 or 80 in Basic 7.00/7.10 (68446)
The information in this article applies to:
- Microsoft QuickBASIC 4.5
- Microsoft Basic Professional Development System for MS-DOS 7.0
- Microsoft Basic Professional Development System for MS-DOS 7.1
This article was previously published under Q68446 SYMPTOMS
In Basic PDS 7.00 and 7.10, the WIDTH for the screen device is
restricted to 40 or 80 characters across all the different WIDTH
syntaxes.
The WIDTH statement fails to set widths other than 40 or 80 for the
"CONS:" device name in QuickBasic 4.50 (buglist4.50) and Basic PDS
7.00 and 7.10. The WIDTH statement also fails to set widths other than
40 or 80 for the "SCRN:" device name for Basic PDS 7.00 and 7.10, but
succeeds in QuickBasic 4.50. (The problem occurs both in the
environment and in a compiled .EXE program.) The documentation does
not explicitly say what is expected for the WIDTH dev$,wid% syntax.
STATUS
This may be a design restriction. Microsoft is researching this
problem and will post new information here in the Microsoft Knowledge Base
as it becomes available.
This information applies to QuickBasic version 4.50 and to Microsoft
Basic Professional Development System (PDS) versions 7.00 and 7.10 for
MS-DOS.
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB68446 |
---|
|