Did you know ...
Search Documentation:
Predicate env/3
HOME
DOWNLOAD
SWI-Prolog
Sources/building
Docker images
Add-ons
Browse GIT
DOCUMENTATION
Manual
Packages
FAQ
Command line
PlDoc
Bluffers
▶
Prolog syntax
PceEmacs
HTML generation
License
Publications
Rev 7 Extensions
TUTORIALS
Beginner
▶
Getting started
Learn Prolog Now!
Simply Logical
Debugger
Development tools
Advanced
▶
Modules
Grammars (DCGs)
clp(fd)
Printing messages
PlDoc
Web applications
▶
Web applications
Let's Encrypt!
Pengines
Semantic web
▶
ClioPatria
RDF namespaces
Graphics
▶
XPCE
GUI options
Machine learning
▶
Probabilistic Logic Programming
External collections
▶
Meta level tutorials
For packagers
▶
Linux packages
COMMUNITY
IRC
Forum & mailing list
Blog
News
Report a bug
Submit a patch
Submit an add-on
Roadmap (on GitHub)
External links
Contributing
Code of Conduct
Contributors
SWI-Prolog items
COMMERCIAL
WIKI
Login
View changes
Sandbox
Wiki help
All tags
Documentation
Reference manual
The SWI-Prolog library
library(settings): Setting management
setting/4
setting/2
env/2
env/3
set_setting/2
restore_setting/1
set_setting_default/2
load_settings/1
load_settings/2
save_settings/0
save_settings/1
current_setting/1
setting_property/2
list_settings/0
list_settings/1
convert_setting_text/3
Packages
Availability:
:- use_module(
library(settings)
).
[det]
env
(
+Name:atom, -Value:number
)
[det]
env
(
+Name:atom, +Default:number, -Value:number
)
Evaluate environment variables on behalf of arithmetic expressions.