FILE OPEN: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
No edit summary
MikeO (talk | contribs)
No edit summary
Line 2: Line 2:


{{Command|syntax=FILE_OPEN <filename>, <file Number>, [<type>]
{{Command|syntax=FILE_OPEN <filename>, <file Number>, [<type>]
|description=*DESCRPTION*
|description=Open a text file.


|param1=<filename>|param1_desc={{filename}}
|param1=<filename>|param1_desc={{filename}}

Revision as of 23:39, 18 August 2010

Up

Command

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


Open a text file.

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
For an example macro see Get_Op_Tool_Path Global_Local Print_Geo_Data_To_File