-
VARIABLES
-
There are two kinds of variables in the macro language :
o User variables that are handled in macros
o Contexts that hold the different internal states of the program
In all cases, variable names are case insensitive.
User variables :
can be set :
set a = 3
evaluated :
$a (directly) ($a+3) (or in expressions)
Variables are usually lcal to a macro (or a formbox), unless
specified :
set b := 4
creates a variable $b that can be evaluated anywhere, (static and
global)
Associative array can be built with the syntaxe :
set array["abc"] = 5
Associative arrays can be linked to dbm data file (see DBMOPEN)
User variables can also be UNSET (rmoved from the memory)
The total number of user vatiables is limited, as given by the
CONFIG command
On the other hands, contexts can only be evaluated, but not set:
if ($dim != 2) ....
see CONTEXTS for the list of all the context variables
see also : CONFIG
CONTEXTS
DBOPEN
FUNCTIONS
MUNSET
SET
UNSET
-
VERBOSE
-
When this context is set to 1 the program switches to a more
verbose mode. Specially, text output will be generated during macro
execution, during MaxEnt run and during LP execution. When verbose
equals to 0, no text is generated.
see also : DEBUG
-
VERT
-
vert i j
In 3D mode, extract a column orthogonal to the last displayed plane.
The column is taken at coordinates i and j in this plane.
see also : COL
DIM
PLANE
planeint
ROW
vertint
-
vertint
-
interactive
permits to choose verts interactively on a 3D by clicking on the 2d plane
see also : COL
colint
ph2dc
planeint
ROW
rowint
-
VHEIGHT
-
This context is used when displaying or plotting 1D spectra, it
determines the level at which the zero value will be displayed in
the window. Values are in %, i.e. 0 corresponds to the bottom line
and 1 to the top. Default value is 0.3
see also : DISP1D
PLOT
-
vi
-
as in unix
see also : CD
ls
more
pwd
rm
SH
vim
vip
-
vim
-
open with vi a macro in the standard place
i.e. in /usr/local/gifa/macro/
see also : CD
ls
more
pwd
rm
SH
vi
vip
-
vip
-
open with vi a macro in the $HOME/macro directory
see also : CD
ls
more
pwd
rm
SH
vi
vim