home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 18 REXX / 18-REXX.zip / vpxtra.zip / vpfile.hlp (.txt) < prev    next >
OS/2 Help File  |  1994-01-19  |  4KB  |  131 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. File Object Help ΓòÉΓòÉΓòÉ
  3.  
  4. This control is used for programming. 
  5.  
  6. It is used by the programmer to represent a file and make programming with 
  7. files easier. 
  8.  
  9.  
  10. ΓòÉΓòÉΓòÉ 2. Style Page Help ΓòÉΓòÉΓòÉ
  11.  
  12. There are really no styles - just the basic. 
  13.  
  14. We recommend that you keep the object invisible and delete it from your form 
  15. before building. This way there is no run-time requirement. 
  16.  
  17.  
  18. ΓòÉΓòÉΓòÉ 3. Open file for reading ΓòÉΓòÉΓòÉ
  19.  
  20. Pretty straightforward. 
  21.  
  22.  
  23. ΓòÉΓòÉΓòÉ 4. Open file for writing ΓòÉΓòÉΓòÉ
  24.  
  25. Pretty straightforward. 
  26.  
  27.  
  28. ΓòÉΓòÉΓòÉ 5. Open file for reading & writing ΓòÉΓòÉΓòÉ
  29.  
  30. Pretty straightforward. 
  31.  
  32.  
  33. ΓòÉΓòÉΓòÉ 6. Close file ΓòÉΓòÉΓòÉ
  34.  
  35. Pretty straightforward. 
  36.  
  37.  
  38. ΓòÉΓòÉΓòÉ 7. Get file status ΓòÉΓòÉΓòÉ
  39.  
  40. Returns one of : 
  41.  
  42. o 'READY'
  43.  
  44. o 'ERROR'
  45.  
  46. o 'NOTREADY' or 
  47.  
  48. o 'UNKNOWN'
  49.  
  50.  
  51. ΓòÉΓòÉΓòÉ 8. Open file for reading ΓòÉΓòÉΓòÉ
  52.  
  53. As for Get file status but is followed by a colon and an error code. 
  54.  
  55.  
  56. ΓòÉΓòÉΓòÉ 9. Write a line to a file ΓòÉΓòÉΓòÉ
  57.  
  58. Writes a string of characters to a file and then writes a carriage return and 
  59. line feed pair to the file. 
  60.  
  61.  
  62. ΓòÉΓòÉΓòÉ 10. Write a string of characters to a file ΓòÉΓòÉΓòÉ
  63.  
  64. Similar to Write a line to a file but doesn't append the cr lf pair. 
  65.  
  66.  
  67. ΓòÉΓòÉΓòÉ 11. Read a line from the file ΓòÉΓòÉΓòÉ
  68.  
  69. Reads a carriage return or line feed delimited line form the file. 
  70.  
  71.  
  72. ΓòÉΓòÉΓòÉ 12. Read a character from the file ΓòÉΓòÉΓòÉ
  73.  
  74. Pretty straightforward. See also Read a line from the file.. 
  75.  
  76.  
  77. ΓòÉΓòÉΓòÉ 13. More lines in the file? ΓòÉΓòÉΓòÉ
  78.  
  79. Returns '1' if there are more carriage return or line feed delimited lines in 
  80. the file, or '0' otherwise. 
  81.  
  82. Please note that there may be characters in the file that are not delimited by 
  83. cr or lf. 
  84.  
  85.  
  86. ΓòÉΓòÉΓòÉ 14. More characters in the file ΓòÉΓòÉΓòÉ
  87.  
  88. Pretty straightforward. 
  89.  
  90.  
  91. ΓòÉΓòÉΓòÉ 15. Does file exist? ΓòÉΓòÉΓòÉ
  92.  
  93. Pretty straightforward. 
  94.  
  95.  
  96. ΓòÉΓòÉΓòÉ 16. Get file size in bytes ΓòÉΓòÉΓòÉ
  97.  
  98. Pretty straightforward. 
  99.  
  100.  
  101. ΓòÉΓòÉΓòÉ 17. Get file data & time stamp ΓòÉΓòÉΓòÉ
  102.  
  103. Pretty straightforward. 
  104.  
  105.  
  106. ΓòÉΓòÉΓòÉ 18. Set read/write position in file from beginning of file ΓòÉΓòÉΓòÉ
  107.  
  108. Use this call to change the current read or write position within a file by a 
  109. number of characters. The position will be the number of characters specified 
  110. from the beginning of the file. 
  111.  
  112.  
  113. ΓòÉΓòÉΓòÉ 19. Set read/write position in file from end of file ΓòÉΓòÉΓòÉ
  114.  
  115. Use this call to change the current read or write position within a file by a 
  116. number of characters. The position will be the number of characters specified 
  117. from the end of the file. 
  118.  
  119.  
  120. ΓòÉΓòÉΓòÉ 20. Set read/write position in file forward from current position ΓòÉΓòÉΓòÉ
  121.  
  122. Use this call to change the current read or write position within a file by a 
  123. number of characters. The position will be the number of characters specified 
  124. forward from the current position. 
  125.  
  126.  
  127. ΓòÉΓòÉΓòÉ 21. Set read/write position in file backward from current position ΓòÉΓòÉΓòÉ
  128.  
  129. Use this call to change the current read or write position within a file by a 
  130. number of characters. The position will be the number of characters specified 
  131. backward from the current position.