Refer to the specification of get_flag/2 for details about each flag.
The current value(s) of a flag may be returned using get_flag/2.
Set a simple option to a different value:
?- set_flag(gc, verbose).
?- set_flag(macro_expansion, off).
Add a value to a multi-valued option:
?- set_flag(syntax_option, read_floats_as_breals).
Remove a value from a multi-valued option:
?- set_flag(syntax_option, not read_floats_as_breals).
Modify the library path:
?- get_flag(library_path, OldPath),
set_flag(library_path, ["/home/myuser/mylibs"|OldPath]).
Error:
set_flag(X,a). (Error 4)
set_flag("a",x). (Error 5)
set_flag(blah, a). (Error 6)
set_flag(gc,fred). (Error 6)
set_flag(version,1). (Error 30)