home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 18 REXX
/
18-REXX.zip
/
vpxtra.zip
/
vpfile.hlp
(
.txt
)
< prev
next >
Wrap
OS/2 Help File
|
1994-01-19
|
4KB
|
131 lines
ΓòÉΓòÉΓòÉ 1. File Object Help ΓòÉΓòÉΓòÉ
This control is used for programming.
It is used by the programmer to represent a file and make programming with
files easier.
ΓòÉΓòÉΓòÉ 2. Style Page Help ΓòÉΓòÉΓòÉ
There are really no styles - just the basic.
We recommend that you keep the object invisible and delete it from your form
before building. This way there is no run-time requirement.
ΓòÉΓòÉΓòÉ 3. Open file for reading ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 4. Open file for writing ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 5. Open file for reading & writing ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 6. Close file ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 7. Get file status ΓòÉΓòÉΓòÉ
Returns one of :
o 'READY'
o 'ERROR'
o 'NOTREADY' or
o 'UNKNOWN'
ΓòÉΓòÉΓòÉ 8. Open file for reading ΓòÉΓòÉΓòÉ
As for Get file status but is followed by a colon and an error code.
ΓòÉΓòÉΓòÉ 9. Write a line to a file ΓòÉΓòÉΓòÉ
Writes a string of characters to a file and then writes a carriage return and
line feed pair to the file.
ΓòÉΓòÉΓòÉ 10. Write a string of characters to a file ΓòÉΓòÉΓòÉ
Similar to Write a line to a file but doesn't append the cr lf pair.
ΓòÉΓòÉΓòÉ 11. Read a line from the file ΓòÉΓòÉΓòÉ
Reads a carriage return or line feed delimited line form the file.
ΓòÉΓòÉΓòÉ 12. Read a character from the file ΓòÉΓòÉΓòÉ
Pretty straightforward. See also Read a line from the file..
ΓòÉΓòÉΓòÉ 13. More lines in the file? ΓòÉΓòÉΓòÉ
Returns '1' if there are more carriage return or line feed delimited lines in
the file, or '0' otherwise.
Please note that there may be characters in the file that are not delimited by
cr or lf.
ΓòÉΓòÉΓòÉ 14. More characters in the file ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 15. Does file exist? ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 16. Get file size in bytes ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 17. Get file data & time stamp ΓòÉΓòÉΓòÉ
Pretty straightforward.
ΓòÉΓòÉΓòÉ 18. Set read/write position in file from beginning of file ΓòÉΓòÉΓòÉ
Use this call to change the current read or write position within a file by a
number of characters. The position will be the number of characters specified
from the beginning of the file.
ΓòÉΓòÉΓòÉ 19. Set read/write position in file from end of file ΓòÉΓòÉΓòÉ
Use this call to change the current read or write position within a file by a
number of characters. The position will be the number of characters specified
from the end of the file.
ΓòÉΓòÉΓòÉ 20. Set read/write position in file forward from current position ΓòÉΓòÉΓòÉ
Use this call to change the current read or write position within a file by a
number of characters. The position will be the number of characters specified
forward from the current position.
ΓòÉΓòÉΓòÉ 21. Set read/write position in file backward from current position ΓòÉΓòÉΓòÉ
Use this call to change the current read or write position within a file by a
number of characters. The position will be the number of characters specified
backward from the current position.