Microsoft KB Archive/45514
Article ID: 45514
Article Last Modified on 11/21/2006
This article was previously published under Q45514
The Note on Page 46 of the "Microsoft QuickBasic: Programming in Basic" manual for Version 4.50 is misleading. It reads as follows:
NOTE: The program example above is written for use in the QB environment only. It cannot be compiled using the BC command from DOS.
Technically, this note is correct because the program example leaves out the DECLARE statement for the FUNCTION procedure (GetInput$). The DECLARE is necessary for compilation. However, if the program is entered in the QuickBasic environment, the DECLARE will automatically be added when the program is Saved. This misleading comment does not appear in the documentation for Microsoft Basic PDS Version 7.00.
Additional query words: QuickBas