Core Functions


Table of Contents
call — calls a class method for a given instance.
class_add_cvar — adds new class variables.
class_add_ivar — adds an instance variable to a class.
class_name — gives the name of the class.
class_of — gives the class definition of a given instance.
defclass — is the function equivalent of the class statement.
defmacro, defmacroe — are the Lisp equivalents of the macro function.
defun, defune, — are the function equivalents of the function statement.
defmethod — is the function equivalent of the method statement.
defvar — defines a global variable with an initial value.
destroy — destroys a class instance.
eq, equal — compare for identity and equivalence.
error — redirects the interpreter.
eval — evaluates an argument.
eval_list — evaluates each element of a list.
eval_string — evaluates a string.
force, forceq, forceqq — assign a value to a symbol, forcing the evaluation of change functions for the symbol.
funcall — provides compatibility with other Lisp dialects.
function_args — lists the arguments of a function.
function_body — gives the body of a user-defined function.
function_name — gives the name of a function.
getprop — returns a property value for a symbol.
has_cvar — queries for the existence of a class variable.
has_ivar — queries for the existence of an instance variable.
instance_vars — finds all the instance variables of a class or instance.
is_class_member — checks if an instance or class is a member of a class.
ivar_type — returns the type of a given instance variable.
macro — helps generate custom functions.
new — creates a new instance of a class.
parent_class — returns the closest parent (base) of a class or instance.
print_stack — prints a Gamma stack.
properties — should never be used.
quote, backquote — correspond to Quote Operators.
require, load — load files.
set, setq, setqq — assign a value to a symbol.
setprop — sets a property value for a symbol.
setprops — lists the most recent property value settings.
trap_error — traps errors in the body code.
unwind_protect — ensures code will be evaluated, despite errors in the body code.
whence — gives input information.