Example
Opens the file, writes the data in the file, and then closes the file.
DATA& = 10
Rem Open the file
Open "E:\input.dat" For Output As #1
Rem Write the data in the opened file
Print #1 DATA&
Rem Close the opened file
Close #1
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
Open For Append As# (Reference:
Open For Output As# (Reference:
Vision System FH/FZ5 Series
User's Manual (Z340)
Details (p.627)) Open For Input As# (Reference:
Details (p.631)) Print (Reference:
WWW.NNC.IR
Details (p.629))
Details (p.639))
Macro Reference
8
433