Microsoft KB Archive/34339

From BetaArchive Wiki
Knowledge Base

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

Article ID: 34339

Article Last Modified on 11/21/2006


  • Microsoft QuickBasic 1.0

This article was previously published under Q34339


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