#ARexx Filezap?
08-Jun-88 17:39:31
Sb: #128749-#ARexx Filezap?
Fm: Bill Hawes 72230,267
To: Thomas Holaday 70407,534
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
You can use either variables or literal strings as arguments for the I/O
functions, but remember that arguments to a REXX function are _always_
evaluated as an expression. Thus the use of a variable for the logical file
name would retrieve the value of the variable. This might be just what you
wanted, but would be confusing if you expected the variable name itself.
Also, keep in mind that the ARexx logical file names are case-sensitive, but
file names in AmigaDOS are not. So
call open(MyFile,'c:foo',r)
is equivalent to
call open(MYFILE,'c:foo',R)
provided that MYFILE and R (as variables) haven't been assigned values.
-Bill Hawes