next up previous index
Next: ASK: Prompt for Numerical Up: Variables, Arithmetic Expressions, & Previous: SET: Define a VISTA   Index

TYPE: Evaluate/Print Arithmetic Expressions


\begin{command}
\item[\textbf{Form: } TYPE expression {[expression]} {[expression]} ...\hfill]{}
\end{command}

This command can be used to print out arithmetic expressions. Up to 15 expressions can be printed out at one time.

Examples:
\begin{example}
\item[TYPE X\hfill]{Evaluates X (a variable) and shows
the valu...
...\^3.4\hfill]{Evaluates the expression shows and
prints the value.}
\end{example}

NOTE: the expressions which TYPE will accept must have at least one non-numeric character in them. This means that the expressions must contain at least one variable name OR at least one arithmetic operator. Thus, something like
\begin{hanging}
\item{TYPE 6.3}
\end{hanging}
will not work.

The command PRINTF allows you to print expressions in a designated format.



Jon Holtzman 2002-02-13