home *** CD-ROM | disk | FTP | other *** search
/ MACD 5 (Alt) / MACD 5.bin / workbench / libs / rexmooslib.lha / MOOS / Tests / rexx_dos.output < prev    next >
Encoding:
Text File  |  1997-02-03  |  5.1 KB  |  223 lines

  1.  
  2.  
  3.  
  4. #### ReadArgs(string,template,options) #######################################
  5. -------------------- ReadArgs("mio tuo suo add","FILE/M,ADD/S,QUIET=Q/S","opt.") 
  6. OPT.FILE.COUNT = 3
  7. OPT.FILE.0 = mio
  8. OPT.FILE.1 = tuo
  9. OPT.FILE.2 = suo
  10. OPT.ADD    = 1
  11. OPT.QUIET  = 0
  12. -------------------- ReadArgs("29 12 68 A D","ID/N/M,Append=A/S,Delete=D/S") -
  13. ID.COUNT = 3
  14. ID.0   = 29
  15. ID.1   = 12
  16. ID.2   = 68
  17. APPEND = 1
  18. DELETE = 1
  19.  
  20.  
  21.  
  22. #### Info(path,options) ######################################################
  23. -------------------- Info("SYS:","ex.") --------------------------------------
  24. VolumeName     System
  25. DateStamp      Wednesday 08-May-96 17:01:46
  26. NumSoftErrors  0
  27. UnitNumber     1
  28. DiskState      VALIDATED
  29. NumBlocks      57770
  30. NumBlocksUsed  56072
  31. BytesPerBlock  512
  32. DiskType       DOS3
  33. InUse          1
  34.  
  35.  
  36.  
  37. #### Delay(ticks) ############################################################
  38. -------------------- Delay(100) ----------------------------------------------
  39. 100 ticks == 2.02 secs...
  40. -------------------- Delay(100) ----------------------------------------------
  41. 100 ticks == 2.02 secs...
  42.  
  43.  
  44.  
  45. #### SetVar(name,value,options) ##############################################
  46. -------------------- SetVar("test",val) --------------------------------------
  47. 1
  48.  
  49.  
  50.  
  51. #### GetVar(name,options) ####################################################
  52. -------------------- GetVar("language") --------------------------------------
  53. language == english
  54. -------------------- GetVar("test","Exists") ---------------------------------
  55. 1
  56.  
  57.  
  58.  
  59. #### DeleteVar(name,options) #################################################
  60. -------------------- DeleteVar("test") ---------------------------------------
  61. 1
  62.  
  63.  
  64.  
  65. #### SplitPath(path,options) #################################################
  66. -------------------- SplitPath('DF0:foo/bar/moos-startup') -------------------
  67. moos-startup
  68. -------------------- SplitPath('DF0:foo/bar/moos-startup','Path') ------------
  69. DF0:foo/bar/
  70. -------------------- SplitPath('DF0:foo/bar/moos-startup','test.') -----------
  71. moos-startup
  72. test.DirPart  == DF0:foo/bar/
  73. Test.FilePart == moos-startup
  74.  
  75.  
  76.  
  77. #### MatchPattern(pattern,string,options) ####################################
  78. -------------------- MatchPattern("#?Con#?","L:Kingcon-handler") -------------
  79. 1
  80. -------------------- MatchPattern("#?Con#?","L:Kingcon-handler","Case") ------
  81. 0
  82.  
  83.  
  84.  
  85. #### AddPart(dirname,filename) ###############################################
  86. -------------------- AddPart("DF0:","bar") -----------------------------------
  87. DF0:bar
  88. -------------------- AddPart("RAM:foo","bar") --------------------------------
  89. RAM:foo/bar
  90. -------------------- AddPart("RAM:foo/","bar/sub_bar") -----------------------
  91. RAM:foo/bar/sub_bar
  92.  
  93.  
  94.  
  95. #### WriteBlock(file,string,options) #########################################
  96. -------------------- WriteBlock("T:prova","Test string...") ------------------
  97. Test string...
  98. -------------------- WriteBlock("T:prova",str,"Append") ----------------------
  99. Test string...Test string...
  100.  
  101.  
  102.  
  103. #### Examine(path,options) ###################################################
  104. -------------------- Examine("c:List","ex.") ---------------------------------
  105. DiskKey      32305
  106. DirEntryType FILE
  107. FileName     List
  108. Protection   prwed
  109. EntryType    -3
  110. Size         5108
  111. NumBlocks    10
  112. Comment      
  113. WeekDay      Saturday
  114. Date         25-Sep-93
  115. Time         05:08:40
  116. OwnerUID     0
  117. OwnerGID     0
  118.  
  119.  
  120.  
  121. #### ReadBlock(file,options) #################################################
  122. -------------------- ReadBlock("ENV:language") -------------------------------
  123. language == english
  124.  
  125.  
  126.  
  127. #### ExAll(pattern,options) ##################################################
  128. -------------------- ExAll("devs:#?.device","ex.") ---------------------------
  129. Name hardfile.device
  130. Name serial.device
  131. Name 8n1.device
  132. Name parallel.device
  133. Name clipboard.device
  134. Name printer.device
  135. Name narrator.device
  136. Name mfm.device
  137. Name fmsdisk.device
  138. Name v34serial.device
  139. Name artser.device
  140. Name ramdisk.device
  141. Name parnet.device
  142. Name BaudBandit.device
  143. -------------------- ExAll("Libs:rexx#?","ex. Type 3") -----------------------
  144. Name rexx_math.library
  145. Type FILE
  146. Size 13504
  147. Name rexx_intuition.library
  148. Type FILE
  149. Size 4016
  150. Name rexx_dos.library
  151. Type FILE
  152. Size 8740
  153. Name rexx_exec.library
  154. Type FILE
  155. Size 3468
  156. Name rexx_stem.library
  157. Type FILE
  158. Size 7192
  159. Name rexxMOOS.library
  160. Type FILE
  161. Size 6492
  162. Name rexxarplib.library
  163. Type FILE
  164. Size 48904
  165. Name rexxtricks.library
  166. Type FILE
  167. Size 33812
  168. Name rexxsupport.library
  169. Type FILE
  170. Size 2524
  171. Name rexxmathlib.library
  172. Type FILE
  173. Size 7076
  174. Name rexxreqtools.library
  175. Type FILE
  176. Size 11664
  177. Name rexxserdev.library
  178. Type FILE
  179. Size 2412
  180. Name rexxsyslib.library
  181. Type FILE
  182. Size 33392
  183. Name rexxdossupport.library
  184. Type FILE
  185. Size 9656
  186. Name rexxisam.library
  187. Type FILE
  188. Size 17956
  189. -------------------- ExAll("Libs:req#?","ex. Type 6") ------------------------
  190. Name reqtools.library.new
  191. Type FILE
  192. Size 50992
  193. Prot rwed
  194. WDay Friday
  195. Date 16-Feb-96
  196. Time 19:12:22
  197. Note 
  198. Name reqchange.library
  199. Type FILE
  200. Size 18104
  201. Prot rwd
  202. WDay Sunday
  203. Date 15-May-94
  204. Time 12:11:24
  205. Note 
  206. Name reqtools.library
  207. Type FILE
  208. Size 43628
  209. Prot rwed
  210. WDay Sunday
  211. Date 07-Aug-94
  212. Time 12:31:32
  213. Note 
  214. Name req.library
  215. Type FILE
  216. Size 18436
  217. Prot rwed
  218. WDay Monday
  219. Date 31-Jan-94
  220. Time 23:26:22
  221. Note 
  222.  
  223.