4.50 Manual Has Misleading Note for Calling FUNCTION Procedure (45514)






This article was previously published under Q45514

SUMMARY

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.

Modification Type: Minor Last Reviewed: 1/9/2003
Keywords: KB45514