X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=doc%2Fvariables.texi;h=1db8f034a66fc79c5334addb348e6baed606d92f;hb=84dbb69fc7d58eedd8ba5f89e500a3385713f6df;hp=f4ed4449dd52aeb713b8fb1959dceb63278b8c07;hpb=c75334a9bda9a889b2b9c0c46821a1a460dbff4b;p=pspp diff --git a/doc/variables.texi b/doc/variables.texi index f4ed4449dd..1db8f034a6 100644 --- a/doc/variables.texi +++ b/doc/variables.texi @@ -23,6 +23,7 @@ several utility functions for examining and adjusting them. * VARIABLE ALIGNMENT:: Set the alignment for display. * VARIABLE WIDTH:: Set the display width. * VARIABLE LEVEL:: Set the measurement level. +* VARIABLE ROLE:: Set the role that a variable fills in analysis. * VECTOR:: Declare an array of variables. * WRITE FORMATS:: Set variable write formats. @end menu @@ -646,6 +647,42 @@ VARIABLE LEVEL Currently, this has no effect except for certain third party software. +@node VARIABLE ROLE +@section VARIABLE ROLE +@vindex VARIABLE ROLE +@display +VARIABLE ROLE + /@var{role} @var{var_list} + [/@var{role} @var{var_list}]@dots{} +@end display + +@cmd{VARIABLE ROLE} sets the intended role of a variable for use in +dialog boxes in graphical user interfaces. Each @var{role} specifies +one of the following roles for the variables that follow it: + +@table @code +@item INPUT +An input variable, such as an independent variable. + +@item TARGET +An output variable, such as an dependent variable. + +@item BOTH +A variable used for input and output. + +@item NONE +No role assigned. (This is a variable's default role.) + +@item PARTITION +Used to break the data into groups for testing. + +@item SPLIT +No meaning except for certain third party software. (This role's +meaning is unrelated to @cmd{SPLIT FILE}.) +@end table + +The PSPPIRE GUI does not yet use variable roles as intended. + @node VECTOR @section VECTOR @vindex VECTOR