WIDTH 40, WIDTH 80; "Illegal Function Call" (21859)
This article was previously published under Q21859
SUMMARY
Question:
Why do I get an "Illegal Function Call" using a WIDTH statement with a
width other than 40 or 80?
Response:
The WIDTH statement operates the same way in QuickBasic as it does in
the GW-Basic Version 3.20 and IBM BasicA interpreters.
To change the allowed width of screen output, you need to open the
"SCRN:" device and output as follows:
width "scrn:",11 ' Sets screen width to 11 characters.
open "scrn:" for output as #1
print#1, "123456789012345678901234567890"
close
Modification Type: |
Minor |
Last Reviewed: |
1/8/2003 |
Keywords: |
KB21859 |
|