built-in predicate
current_logtalk_flag/2
ï
Descriptionï
current_logtalk_flag(Flag, Value)
Enumerates, by backtracking, the current Logtalk flag values. For a description of the predefined compiler flags, please see the Compiler flags section in the User Manual.
Modes and number of proofsï
current_logtalk_flag(?atom, ?atom) - zero_or_more
Errorsï
Flag
is neither a variable nor an atom:type_error(atom, Flag)
Flag
is an atom but an invalid flag:domain_error(flag, Value)
Examplesï
% get the current value of the source_data flag:
| ?- current_logtalk_flag(source_data, Value).
See also