REXX Tips & Tricks, Version 2.80

Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs

The function CHARS() in Object REXX

The function <CHARS does not work as expected in Object-Oriented REXX: 
According to the online help, CHARS() used on STDIN should return 1 if 
there are remaining characters in the stream or 0 if there are no more 
characters in the stream (That's also the way it used to work in Classic 
In reality, CHARS() always returns 0 if used for STDIN. 
[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)] 
(see also The function LINES() in Object REXX and The function CHARS())   

Inf-HTML End Run - Successful