Microsoft KB Archive/35326

= FIX: Syntax Error TIME$ to TIME$$ Loading Compressed 2.00 File =

Article ID: 35326

Article Last Modified on 11/21/2006



This article was previously published under Q35326



SYMPTOMS
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 &quot;Syntax Error&quot; at run time. You may do either of the following to work around the problem:


 * 1) 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-


 * 1) 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

-

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

© Microsoft Corporation. All rights reserved.