Microsoft KB Archive/61658

= WIDTH Statement Incorrectly Lists All Parameters as Optional =

Article ID: 61658

Article Last Modified on 11/21/2006



This article was previously published under Q61658



SUMMARY
In the &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference&quot; manual, the syntax description of the WIDTH statement does not follow the notational conventions used with the documentation.

The WIDTH statement syntax description on Page 353 of the &quot;Microsoft QuickBASIC for Apple Macintosh: Language Reference&quot;) incorrectly shows that both &quot;size&quot; and &quot;, printzone&quot; are optional:

WIDTH size ,printzone

When all parameters are optional, the statement should be legal with no parameters. In this case, &quot;WIDTH&quot; alone should be a legal statement according to the above syntax description, but that statement causes the following error:

Missing operand

The correct syntax description for the WIDTH statement is as follows:

WIDTH {size | ,printzone | size,printzone}

This information applies to Microsoft QuickBASIC version 1.00 for the Apple Macintosh.



MORE INFORMATION
The following section of the &quot;Typographical Conventions&quot; description from Page 7 of &quot;Microsoft QuickBASIC for Apple Macintosh: User's Guide&quot; defines the notations used in the documentation:   optional item    Items inside double square brackets are optional. {choice1 | choice2} Braces and a vertical bar indicate a choice between two or more items. You must choose one of these items unless all of the items are also enclosed in double square brackets.

Additional query words: MQuickB

Keywords: KB61658

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.