Microsoft KB Archive/35326
Article ID: 35326
Article Last Modified on 11/21/2006
This article was previously published under Q35326
QuickBasic mistakenly expands the TIME$ statement to TIME$$ when it loads source files that were saved in Microsoft Basic Interpreter version 2.00 Compressed format. For example, PRINT TIME$ becomes PRINT TIME$$ at load time. PRINT TIME$$ then gives a "Syntax Error" at run time. You may do either of the following to work around the problem:
- Save the program in Text format in the Microsoft Basic Interpreter versions 2.00, 2.10, or 3.00 before loading it into QuickBasic. -or-
- After loading it into QuickBasic, select Change from the Search menu and do a Find on TIME$$ and Replace it with TIME$. Resave.
Microsoft has confirmed this to be a bug in Microsoft QuickBasic version 1.00 for the Macintosh . This problem is corrected in QuickBasic version 1.00b.
Additional query words: MQuickB
Keywords: kbbug kbfix KB35326