mirror of
https://github.com/QB64Official/qb64.git
synced 2024-09-16 06:13:53 +00:00
20 lines
566 B
Text
20 lines
566 B
Text
|
The '''_FILEEXISTS''' function determines if a designated file name exists and returns True or False.
|
||
|
|
||
|
|
||
|
{{PageSyntax}}
|
||
|
|
||
|
::: IF _FILEEXISTS(''filename$'') THEN
|
||
|
|
||
|
|
||
|
* The ''filename'' parameter can be a literal or variable [[STRING|string]] value 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.
|
||
|
* The function can use the appropriate Operating System path separators.
|
||
|
|
||
|
|
||
|
''See also:''
|
||
|
* [[_DIREXISTS]]
|
||
|
* [[SHELL]]
|
||
|
|
||
|
|
||
|
{{PageNavigation}}
|