<<<<<<<<<<<<<<<<<

arg_vector(prog_tools) Library_Name arg_vector(prog_tools)

NAME

arg_vector - a vector of lymb arguments

DESCRIPTION

The arg_vector object is a vector of lymb arguments. It basically is an object that holds an argment stack in memory. One can use the standard vector notation for getting arguments. There are type checking functions to make sure you are getting the right type of arguments. This object is used by the arg_procedure object for getting arguments into and out of procedures.

SUPERCLASS

abstract_vector

INSTANCE VARIABLES

components The vector of arguments.

MESSAGES

in_args= Sets the arguments of the arg_vector. Syn with components=. This will not reset the dimension of the arg_vector. It will only make it bigger if needed.

in_args+ Appends the arguments of the arg_vector. Syn with components+

args? Gets the arguments. Syn with components?

string_args? Get the args and makes sure they are strings. Prints a warning otherwise.

scalar_args? Gets the args and makes sure they are scalars. Prints a warning otherwise.

object_pointer_args? Gets the args and makes sure they are object_pointers. This will convert a string into an object_pointer if an object with that name is found. Prints a warning otherwise.

pointer_args? Gets the args and makes sure they are pointers. Prints a warning otherwise.

EXAMPLE

This exersise is left to the student.

SEE ALSO

arg_procedure abstract_vector


Please send comments and suggestions to
consult@rpi.edu