Reputation: 10920
Suppose I set an environment variable in bash before starting MIT Scheme (e.g. export FOO=123
). How can I get the value of the environment variable?
Upvotes: 2
Views: 361
Reputation: 74645
(get-environment-variable "FOO")
The remarks on https://srfi.schemers.org/srfi-98/srfi-98.html state that MIT Scheme defines this function.
Upvotes: 2