update dynamic 3

Documentation Version for Comments and Changes

You are invited to make any changes...add any comments.

Changes will `eventually` be merged into the offical documentation.

Leave any commnents here...


... back to index page OE documentation

A solution to this is provided by machine_func and machine_proc. User code normally never needs to use these. Various examples are to be found in the standard library.

These primitives are called like this:

machine_proc(id, argument) 
result = machine_func(id, argument) 

argument is either an atom, or a sequence standing for one or more parameters. Since the first parameter does not need to be a constant, you may use some sort of dynamic calling. The circumstances where it is useful are rare.

The complete list of known values for id is to be found in the file source/execute.h.

Defining new identifiers and overriding machine_func or machine_proc to handle them is an easy way to extend the capabilities of the interpreter.

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu