ooRexx Runtime Environment and Resolving Environment Symbols
Starts with a dot
Followed by a Rexx symbol
Some examples for environment symbols with their resolved values:
say .true -- yields: 1 (environment constant)
say .false -- yields: 0 (environment constant)
say .nil -- yields: The NIL object (environment constant)
say .he.ho -- yields: .HE.HO (not found, environment symbol in uppercase)
say .bag -- yields: The Bag class (from REXX package, also .environment)
say .output -- yields: The OUTPUT monitor (from .local)
.context~package~local~my.test="This is a test" -- add an entry to package's local
say .my.test -- yields: This is a test
.true (1), .false (0) or .nil (The NIL object).environment directorylocal package directory of the current program (i.e.: .context~package~local).local environment directory (each ooRexx interpreter has a different one).environment directory (all ooRexx interpreters share this one).CONTEXT, .LINE, .METHODS, .RESOURCES, .ROUTINES, or .RSHence, if you store entries in the package local, .local or global .environment directories then make sure that the index value (name without leading dot) you use contains at least one dot!
Example:
WU
Prof. Mag. Dr. Rony G. Flatscher
Welthandelsplatz 1
1020 Wien/Vienna
Austria/Europe
www: www.wu.ac.at