[ Development Environment and Global Settings | Reference Manual | Alphabetic Index ]


The flags of the predicate described by PredSpec are printed out on the current output.
Predicate name in the form Atom/Integer


Used to print on the current output the flags of the visible predicate described by PredSpec. For the description of the flags see get_flag/3.

Modes and Determinism


This predicate is sensitive to its module context (tool predicate, see @/2).

Fail Conditions

Fails if PredSpec does not exist


(4) instantiation fault
PredSpec is not instantiated
(5) type error
PredSpec is not in the format Atom/Integer


    ?- pred(pred/1).
    mode                pred(?)
    visibility          imported
    definition_module   sepia_kernel
    declared            on
    defined             on
    autoload            off
    auxiliary           off
    call_type           prolog
    demon               off
    deprecated          off
    parallel            off
    priority            2
    run_priority        2
    stability           static
    tool                on
    type                built_in
    debugged            on
    leash               notrace
    skip                on
    spy                 off
    start_tracing       off
    port_calls          []
    port_lines          []
    break_lines         []
    code_size           10
    Yes (0.01s cpu)

    ?- pred(nopred/1).
    No (0.00s cpu)

See Also

get_flag / 3, set_flag / 3, current_built_in / 1