BC.EXE "AS Missing" in TYPE Using Space Between Array and () (68024)
This article was previously published under Q68024
SYMPTOMS
The BC.EXE compiler gives the error "AS Missing" on an array in a TYPE
statement if you mistakenly leave a space between the last letter in
the array name and the left parenthesis. (This misleading error
message will occur only if you create the program in an editor other
than QBX.EXE. The problem doesn't occur when you save the program in
QBX.EXE because QBX.EXE automatically removes the offending space
character.)
WORKAROUND
To work around the problem in any editor other than QBX.EXE, remove
the offending space character between the array name and the left
parenthesis.
STATUS
Microsoft has confirmed this to be a bug in the Microsoft Basic
Professional Development System versions 7.00 and 7.10 for MS-DOS and
MS OS/2. We are researching this problem and will new information here
in the Microsoft Knowledge Base as it becomes available.
Modification Type: |
Minor |
Last Reviewed: |
1/9/2003 |
Keywords: |
KB68024 |
|