From 25f17dbf77a511de6d9ed698336b8409d9161120 Mon Sep 17 00:00:00 2001 From: allen Date: Sun, 19 Sep 1999 13:28:46 +0000 Subject: LOGICAL -> BOOLEAN git-svn-id: http://svn.cactuscode.org/flesh/trunk@960 17b73243-c579-4c4c-a9d2-2d5706c11dac --- doc/UsersGuide/ThornWriters.tex | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'doc/UsersGuide/ThornWriters.tex') diff --git a/doc/UsersGuide/ThornWriters.tex b/doc/UsersGuide/ThornWriters.tex index 31eb4520..f9d56cfd 100644 --- a/doc/UsersGuide/ThornWriters.tex +++ b/doc/UsersGuide/ThornWriters.tex @@ -191,7 +191,8 @@ declares that the thorn provides an implementation called `wavetoy', gets all {\tt public} variables declared by an implementation called `grid', and shares all {\tt protected} variables with `wave\_extract' and its friends. -For convenience variables are placed in groups. The group has several +For convenience variables are placed in groups. Currently, names of groups +and variables must be distinct. The group has several attributes: \begin{itemize} @@ -278,7 +279,7 @@ A parameter specification consists of: A distinct string with only a few known allowed values. \item {\tt STRING} An arbitrary string, which must conform to a given regular expression. -\item {\tt LOGICAL} +\item {\tt BOOLEAN} A boolean type which can take values 1, `t', `true', `yes' or 0, `f', `false', `no'. \end{itemize} @@ -309,8 +310,8 @@ REAL Coeff "Important coefficient" 0:3.14 :: "Range has to be from zero to Pi, default is zero" } 0.0 -#No need to define a range for LOGICAL -LOGICAL nice "Nice weather ?" +#No need to define a range for BOOLEAN +BOOLEAN nice "Nice weather ?" { }"yes" @@ -324,7 +325,7 @@ KEYWORD confused "Are we getting confused ?" } "never" \end{verbatim} -defines a REAL parameter, a LOGICAL parameter, and a KEYWORD. +defines a REAL parameter, a BOOLEAN parameter, and a KEYWORD. By default all paramters are {\tt private}, to change this an access specification of the form {\tt global:} or {\tt restricted:} (or @@ -373,7 +374,7 @@ schedule at