Doc.Id. HMSI-27-212
Doc.Rev. 1.5
Start
InstX = Obj.Create( )
InstX.File Open( R, \reports\
weld_info.txt )
data = InstX.File Read( Size )
EOF
(Zero bytes returned)
End
InstX.File Close( )
Obj.Delete ( InstX )
Yes
No
Create a new instance. The instance number
returned will be used by subsequent commands.
Open le for reading (CmdExt[0] = 0) and point
to the le to open. The instance can now be used
for le operations. Any directory operations will
be rejected.
Read Size number of bytes from the le.
Keep reading until the Read command returns
zero (0) or the desired content has been read.
Close the le.
Delete the instance.