|
|
|
|
Functions
MioScript Reference
|
|
Syntax
| disk.file.exists(Filename) |
Parameters
| STRING | Filename | File to check. |
Return value
| true if the file exists, false otherwise. |
Description
MioScript Sample Code
if(disk.file.size(&filename) > 0)
alert("The file exists!")
if.end
// OR
if(disk.file.size(&filename) <= 0)
alert("File not found!")
if.end
|
|
|
|