The function STREAM() in Object REXX

In Classic REXX, the statement

 
  myFileName = stream( "A:\test", "c"', "QUERY EXISTS" )

only returns an empty string if the drive A: is not ready. In Object-Oriented REXX this statement pops up this nice little OS/2 error box saying that the drive is not ready.
[Tested with OBJREXX 6.00 12 Jul 1996]
[Fixed in OBJREXX 6.00 26 Feb 1997 and newer versions (included in WARP 4 Fixpack #6)]

To avoid this, you need to put the AUTOFAIL (CONFIG.SYS statements used by OS/2) statement in your CONFIG.SYS file.


[Back: The function LINES() in Object REXX]
[Next: The function VALUE() in Object REXX]