Article ID: 78094
This article was previously published under Q78094
The correct syntax of the SCREEN statement is
SCREEN [mode][,[colorswitch][,[apage][,vpage]]]There are two additional restrictions on the SCREEN statement:
The syntax of the SCREEN statement is incorrect in the following sources, and should be replaced with the above syntax:
The SCREEN statement syntax is incorrectly documented in QB Advisor online Help system for QuickBasic 4.5 and the "Microsoft QuickBasic 4.5: Programming in Basic" manual as:
SCREEN [mode][,[colorswitch]][,[apage]][,[vpage]]This syntax incorrectly states that any comma and the following argument can both be omitted. For example, this syntax is ambiguous when you specify three arguments; it is not possible to tell if the second argument is "colorswitch" or "apage".
You may omit an argument to the SCREEN statement only when one of the following conditions holds:
SCREEN mode[,[colorswitch][,[apage][,vpage]]]This syntax incorrectly states that the first argument, "mode" is required; it is optional.
Article ID: 78094 - Last Review: November 21, 2006 - Revision: 1.2