
STATE can be used to check for the existence of a file or subdirectory.
It returns 1 in the case that the specified name corresponds to a file,
2 in the case that it is a subdirectory , 0 if the name is neither and
255 in the case of an error.  STATE can be used as the replacement of
"if exist...."  clauses since these clauses will not work in REXX OS/2
programs under OS/2 v1.2. For the syntax enter STATE without arguments.

Dirk Rober
