[Coco] OS-9 environment variables?
Willard Goosey
goosey at virgo.sdc.org
Wed Apr 15 14:56:34 EDT 2009
On Tue, Apr 14, 2009 at 10:30:16PM -0500, Roger Taylor wrote:
> Is there a way in OS-9 to store a few bytes or a string from one
> module and access that data from another module by nickname or some
> other global handle?
getenv() and setenv() in the cgfx library read/write "environment
variables" from /dd/sys/env.file
>
> Can the data persist after hitting Reset to reboot OS-9?
Yes.
Willard
--
Willard Goosey goosey at sdc.org
Socorro, New Mexico, USA
I search my heart and find Cimmeria, land of Darkness and the Night.
-- R.E. Howard
More information about the Coco
mailing list