4
Using
Tool
FZ4 User's Manual
Using Custom Command
203
Description
When a drive that does not exist has been specified, -1 is returned as the return value.
Specify the <Drive Name> in a manner similar to the following: "C:\".
Example
When the remaining available space on the drive is less than 1KB turn ON the ERROR signal.
if Dskf("C:\")<1024 then putport "ParallelIo",103,1
Checks for the end of file.
Eof (<File No.>)
Parameters
<File No.>
The file number (integer) of the file opened by the Open command.
Return Value
Returns the value of the integer.
The content of the value is as listed below.
0: The end of the file has not been reached
-1: The end of the file has been reached
Description
Check to see if the end of file has been reached for the file specified by <File No.>.
Example
Read in data until the end of the file.
Open "C:\input.dat" FOR INPUT As #1
For I&=0 To 255
DATA$ = Input$(6,#1)
DATA$(I&)=DATA$
If Eof(1)<>0 Then Exit For
Next
Close #1
Erase DATA$()
Free the array variable memory region that was defined by the Dim command.
Erase <Array>[,<Array>...]
Parameters
<Array>
The array variable (array) whose memory is to be freed.
Acesst 1.0 6251194
Summary of Contents for FZ4 Series
Page 1: ...User s Manual Cat No Z318 E1 02B Vision Sensor FZ4 Series...
Page 38: ...1 Before Operation 36 Setting Operation Mode FZ4 User s Manual 1 CPU 2 CPUs FZ4 11 H11 only...
Page 330: ...4 Using Tool 328 Remotely Operating the Controller Remote Operation FZ4 User s Manual...
Page 566: ......
Page 648: ...8 Appendixes 646 Manual Revision History FZ4 User s Manual...
Page 654: ...652 FZ4 User s Manual...
Page 655: ......