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).