From 81ad3a6d2fc306710d9141444ea5a061f62f5639 Mon Sep 17 00:00:00 2001 From: Vitor Santos Costa Date: Fri, 4 Dec 2009 00:30:07 +0000 Subject: [PATCH] document new flag command. --- docs/yap.tex | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/docs/yap.tex b/docs/yap.tex index caa4ab295..e4b71643d 100644 --- a/docs/yap.tex +++ b/docs/yap.tex @@ -8008,6 +8008,23 @@ second argument @var{OldValue} unbound and then calling Set the value for YAP Prolog flag @code{Flag}. Equivalent to calling @code{yap_flag/2} with both arguments bound. + +@item create_prolog_flag(+@var{Flag},+@var{Value},+@var{Options}) +@findex create_prolog_flag/2 +@snindex create_prolog_flag/2 +@cnindex create_prolog_flag/2 + +Create a new YAP Prolog flag. @var{Options} include @code{type(+Type)} and @code{access(+Access)} with @var{Access} +one of @code{read_only} or @code{read_write} and @var{Type} one of @code{boolean}, @code{integer}, @code{float}, @code{atom} +and @code{term} (that is, no type). + +@item create_prolog_flag(+@var{Flag},+@var{Value}) +@findex create_prolog_flag/2 +@snindex create_prolog_flag/2 +@cnindex create_prolog_flag/2 + +Create a new YAP Prolog flag @var{Flag}. The flag is @code{read_write} and of type @code{term} (that is, no type). + @item op(+@var{P},+@var{T},+@var{A}) [ISO] @findex op/3 @syindex op/3