home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Otherware
/
Otherware_1_SB_Development.iso
/
amiga
/
utility
/
misc
/
reqchang.run
/
ReqChange
/
Extra
/
GetEnv.Rexx
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Wrap
OS/2 REXX Batch file
|
1992-02-02
|
254 b
|
13 lines
/* GetEnv.Rexx. Returns the contents of the named global environment
variable. Ignores any argument except the first one. */
name = arg( 1 )
var = ""
if open( file, 'ENV:' || name, read ) then do
var = readln( file )
call close file
end
return var