EVAL - Evaluate Object Command

Evaluates the object.

Level 1->Level 1
obj->(see below)
Obj. TypeEffects of Evaluation
Local NameRecalls 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.
TaggedIf 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 ObjectsPuts the object on the stack.

Adrian Drury
Last modified: Thu Jun 4 23:08:41 EDT 1998