WWW.NNC.IR
Macro Reference
628
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Opens the file named "input.txt" under the E drive and writes the data to the file.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
STRING$ = "Sample"
Rem Open the file
Open "E:\input.txt" For Append As #1
Print #1, STRING$
Rem Close up the file.
Close #1
Close (Reference: X Details (p.432)) Eof (Reference: X Details (p.510))
GetSystemData (Reference: X Details (p.546)) Input# (Reference: X Details (p.569))
Input$ (Reference: X Details (p.571)) IsFile (Reference: X Details (p.577))
Line Input# (Reference: X Details (p.595)) Open For Input As# (Reference: X Details (p.629))
Open For Output As# (Reference: X Details (p.631)) Print# (Reference: X Details (p.641))