FILEEXISTS

From QB64 Wiki
Revision as of 00:01, 9 September 2011 by imported>Clippy (Created page with 'The '''_FILEEXISTS''' function determines if a designated file name exists and returns True or False. {{PageSyntax}} ::: IF _FILEEXISTS(''filename$'') THEN * The ''filename…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The _FILEEXISTS function determines if a designated file name exists and returns True or False.


Syntax

IF _FILEEXISTS(filename$) THEN


  • The filename parameter can be a literal or variable string that can include a path.
  • The function returns -1 when a file exists and 0 when it does not.
  • The function reads the system information directly without using a SHELL procedure.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page