Did you know ...
Search Documentation:
Predicate setting_property/2
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
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)
).
(can be autoloaded)
[det]
setting_property
(
+Setting, +Property
)
[nondet]
setting_property
(
?Setting, ?Property
)
Query currently defined settings.
Property
is one of
comment
(
-Atom
)
type
(
-Type
)
Type
of the setting.
default
(
-Default
)
Default
value. If this is an expression, it is evaluated.
source
(
-File:-Line
)
Location where the setting is defined.