FILE OPEN: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=FILE_OPEN <filename>, <unit>, [<type>]
{{Command|syntax=FILE_OPEN <filename>, <file Number>, [<type>]
|description=*DESCRPTION*
|description=*DESCRPTION*


|param1=<filename>|param1_desc={{filename}}
|param1=<filename>|param1_desc={{filename}}
|param2=<unit>|param2_desc={{unit}}
|param2=<file Number>|param2_desc={{file Number}}
|param3=[<type>]|param3_desc={{type}}
|param3=[<type>]|param3_desc={{type}}
}}
}}


===Example===
===Example===
:- FILE_OPEN
:FILE_OPEN


[[Category:External_File_Handling]]
[[Category:External_File_Handling]]

Revision as of 17:36, 26 July 2010

Command

FILE_OPEN <filename>, <file Number>, [<type>]


  • 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.
<file Number>
File number, 1 to 10. You may have up to 10 files open at the same time.
[<type>]
.edit.

Example

FILE_OPEN