FILE EXISTS: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=FILE_EXISTS <filename>, <status> |description=*DESCRPTION* |param1=<filename>|param1_desc= |param2=<status>|param2_desc= }} ===Example=== :- FILE_EXISTS [[Category:Exte...
 
ConnerO (talk | contribs)
No edit summary
Line 2: Line 2:
|description=*DESCRPTION*
|description=*DESCRPTION*


|param1=<filename>|param1_desc=
|param1=<filename>|param1_desc={{filename}}
|param2=<status>|param2_desc=
|param2=<status>|param2_desc={{status}}
}}
}}



Revision as of 18:42, 16 July 2010

Command

FILE_EXISTS <filename>, <status>


  • DESCRPTION*

Parameters

<filename>
Filename as either text in double quotes, or a text variable.
If the filename does not contain full path information, then the file will be opened in the same folder as the macro.
<status>
0=empty, 1=complete, -1=incomplete

Example

- FILE_EXISTS