CompuServe Messages

#ARexx Current Dir

    18-Jul-88 09:58:51
Fm: Ray Lambert 76077,1653
To: John Draper 76703,4322
Larry, I tried the 'var = pragma('d')' command but it always seems to return ':'. I did all my experimenting while I was logged into RAM:, and that command still returned ':'. Actually, I guess that's correct (I am in the root of RAM:). What I really need then is the current device. When I try writing a file with no device specification, it writes to DF0: root dir. What I want is, if I'm logged into RAM:, I want my file operations to happen in RAM:. If I were writing in another language like C, assembler or BASIC, this would be the case and I expect that it should be the same in REXX also, but that doesn't appear to be happening. Ray