users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: set_prolog_flag


From: Daniel Diaz
Subject: Re: set_prolog_flag
Date: Wed, 23 May 2001 09:21:07 +0200

There are no user defined Prolog flags and the reported error fits the ISO 
normative reference for Prolog (but you can use the internal database to 
achieve this using assert/retract or GNU Prolog global variables).

address@hidden said:
> For example, the statement :
>   |?- set_prolog_flag('userflag','yes').
>   returns:
>   uncaught exception: 
> error(domain_error(prolog_flag,userflag),set_prolog_flag/2)



-- 
===============================================
                 Daniel Diaz
University of Paris 1      INRIA Rocquencourt
75013 Paris FRANCE      78153 Le Chesnay FRANCE
        web: http://pauillac.inria.fr/~diaz
        email: address@hidden
===============================================





reply via email to

[Prev in Thread] Current Thread [Next in Thread]