Q40886: PUT Statement Correction, Page 342 QB Language Reference
Article: Q40886
Product(s): See article
Version(s): 4.00 4.00b
Operating System(s): MS-DOS
Keyword(s): ENDUSER | B_BasicCom docerr | mspl13_basic
Last Modified: 15-DEC-1989
Page 342 of the "Microsoft QuickBASIC: BASIC Language Reference"
manual for Versions 4.00 and 4.00b and the "Microsoft BASIC 6.0
Compiler: BASIC Language Reference" manual for Versions 6.00 and
6.00b, ("PUT Statement - File I/O") 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, "X")
GET #1,,VarString$
The GET should be changed to PUT as follows:
VarString$=STRING$ (15, "X")
PUT #1,,VarString$
This documentation error was corrected in the QuickBASIC Version 4.50
QB Advisor on-line Help system and in the "Microsoft QuickBASIC 4.5:
BASIC Language Reference" manual for Version 4.50 and in the
"Microsoft BASIC 7.0: Language Reference" manual for Microsoft BASIC
PDS Version 7.00 for MS-DOS and MS OS/2.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.
Copyright Microsoft Corporation 1986-2002.