SUMMARY
The correction below applies to the example program for the COMMAND$
function on Page 114 of the following manuals:
- "Microsoft QuickBasic 4.0: Basic Language Reference"
- "Microsoft Basic Compiler 6.0: Basic Language Reference"
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
"Microsoft Basic 7.0: Language Reference" 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