Article ID: 57378
Article Last Modified on 11/21/2006
This article was previously published under Q57378
SYMPTOMS
The following code returns "Closing parenthesis expected" when compiling the program. The code works within the interpreter.
Microsoft has confirmed this to be a bug in Microsoft QuickBasic Version 1.00 for the Macintosh and in Microsoft Basic Compiler Version 1.00 for the Macintosh . We are researching this problem and will post new information here in the Microsoft Knowledge Base as it becomes available.
If you add the closing parenthesis, as the error message suggests, the interpreter will then flag a "Syntax error" error message.
You can remove the Boolean expression, i>7, from the statement and test this prior to assigning b$(i) a value.
The following line causes the "Closing parenthesis expected" error:
b$(i(i>7)) = ""
Additional query words: MQuickB
Keywords: kbbug KB57378