MAC QB 1.00 README: "Exists" Routine Tests if File Exists (34339)



The information in this article 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).

Modification Type:MinorLast Reviewed:1/8/2003
Keywords:KB34339