Microsoft KB Archive/32789

= Correction for COMMAND$ Function Example in Manual =

Article ID: 32789

Article Last Modified on 11/21/2006



This article was previously published under Q32789



SUMMARY
The correction below applies to the example program for the COMMAND$ function on Page 114 of the following manuals:


 * 1) &quot;Microsoft QuickBasic 4.0: Basic Language Reference&quot;
 * 2) &quot;Microsoft Basic Compiler 6.0: Basic Language Reference&quot;

On Page 114, the SUB statement on line seven incorrectly reads as follows: SUB Comline(NumArgs, Args$(1), MaxArgs) STATIC This line should read as follows: SUB Comline(NumArgs, Args$, MaxArgs) STATIC In brief, replace Args$(1) in the first statement with Args$.

This information also applies to the example program on Page 61 of the &quot;Microsoft Basic 7.0: Language Reference&quot; manual which comes with Microsoft Basic PDS Version 7.00.

On Page 61, the SUB statement on line five incorrectly reads as follows: SUB Comline(NumArgs,Args$,MaxArgs) STATIC This line should read as follows: SUB Comline(NumArgs,Args$,MaxArgs) STATIC

Additional query words: QuickBas BasicCom

Keywords: KB32789

-

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

© Microsoft Corporation. All rights reserved.