Microsoft KB Archive/34339

From BetaArchive Wiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
Knowledge Base


MAC QB 1.00 README: "Exists" Routine Tests if File Exists

Article ID: 34339

Article Last Modified on 11/21/2006



APPLIES TO

  • Microsoft QuickBasic 1.0



This article was previously published under Q34339

SUMMARY

The following statement needs to be added to Appendix E of the "Microsoft QuickBasic 1.00 Basic Language Reference." This information was taken from the README file on the release disk.

E.10.2 Toolbox Library Statement Reference

The following new Toolbox Library statement was added after the manual was printed:

Exists fileName$,flag%

fileName$ -- full path of file, or simple name in current folder
flag% -- 0 = file does not exist, -1 = file exists
                

Note that the README needs to be corrected to say flag% returns -1 if the file exists (not 1).


Additional query words: MQuickB readme docerr

Keywords: KB34339