Reference Guide

Full Command and Function Reference 3-77
EVAL
Type: Command
Description: Evaluate Object Command: Evaluates the object.
The following table describes the effect of the evaluation on different object types.
Object Type
Effect of Evaluation
Local Name Recalls the contents of the variable.
Global Name Calls the contents of the variable:
A name is evaluated.
A program is evaluated.
A directory becomes the current directory.
Other objects are put on the stack.
If no variable exists for a given name, evaluating the
name returns the name to the stack.
Program Enters each object in the program:
Names are evaluated (unless quoted).
Commands are evaluated.
Other objects are put on the stack.
List Enters each object in the list:
Names are evaluated.
Commands are evaluated
Programs are evaluated.
Other objects are put on the stack.
Tagged If the tag specifies a port, recalls and evaluates the
specified object. Otherwise, puts the untagged
object on the stack.
Algebraic Enters each object in the algebraic expression:
Names are evaluated.
Commands are evaluated.
Other objects are put on the stack.
Command, Function, XLIB Name Evaluates the specified object.
Other Objects Puts the object on the stack.
To evaluate a symbolic argument to a numerical result, evaluate the argument in Numerical
Results mode (flag –3 set) or execute →NUM on that argument.
Access: N
Flags: Numerical Results (–3)
Input/Output:
Level 1/Argument 1 Level 1/Item 1
obj
(see above)
See also: →NUM, SYSEVAL
EXLR
Type: Command
Description: Returns the left- and right-hand sides of an equation as discrete expressions.