WWW.NNC.IR
Macro Reference
632
Vision System FH/FZ5 Series
User’s Manual (Z340)
Example
Opens the file, writes the data in the file, and then closes the file.
Useable Modules
Unit Calculation Macro / Scene Control Macro / Communication Command Macro / Unit Macro
Supported Versions
Version 3.50 or later
Related Items
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
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 Append As# (Reference: X Details (p.627))
Open For Input As# (Reference: X Details (p.629)) Print# (Reference: X Details (p.641))