Microsoft KB Archive/40886

= PUT Statement Correction, Page 342 QB Language Reference =

Article ID: 40886

Article Last Modified on 11/21/2006



This article was previously published under Q40886



SUMMARY
Page 342 of the &quot;Microsoft QuickBasic: Basic Language Reference&quot; manual for Versions 4.00 and 4.00b and the &quot;Microsoft Basic 6.0 Compiler: Basic Language Reference&quot; manual for Versions 6.00 and 6.00b, (&quot;PUT Statement - File I/O&quot;) incorrectly states the following:

...characters in the string's value. For example, the following two statements write 15 bytes to file number 1:

VarString$=STRING$ (15, &quot;X&quot;) GET #1,,VarString$

The GET should be changed to PUT as follows: VarString$=STRING$ (15, &quot;X&quot;) PUT #1,,VarString$ This documentation error was corrected in the QuickBasic Version 4.50 QB Advisor on-line Help system and in the &quot;Microsoft QuickBasic 4.5: Basic Language Reference&quot; manual for Version 4.50 and in the &quot;Microsoft Basic 7.0: Language Reference&quot; manual for Microsoft Basic PDS Version 7.00 for MS-DOS and MS OS/2.

Additional query words: QuickBas BasicCom

Keywords: KB40886

-

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

© Microsoft Corporation. All rights reserved.