Difference between revisions of "API File.Open"

From Flowcode Help
Jump to navigationJump to search
(XML import)
(XML import)
Line 3: Line 3:
  
 
<div style="width:25%; float:right" class="toc">
 
<div style="width:25%; float:right" class="toc">
===Class hierarchy===
+
===Class hierarchy===[[API |API ]]
:File
+
:[[API File|File]]
 
::Open
 
::Open
 
</div>
 
</div>

Revision as of 21:19, 11 May 2013

<sidebar>API contents</sidebar> Opens the existing file as a standard stream

===Class hierarchy===API

File
Open

Parameters

STRING Filename

A textual filename to open

BOOL Read

Set to enable read access

BOOL Write

Set to enable write access

BOOL Monitor

Set to enable monitoring of the file
The default value for this parameter is: 0

Return value

HANDLE

No additional information

Detailed description

No additional information

Examples

Calling in a calculation

  • Declare a variable 'result' of type HANDLE
  • Add to a calculation icon:
    result = ::File.Open("filename", true, false, true)