Initializing help system before first use

publish

publish


Purpose
Publish a symbol.
Synopsis
procedure publish(name:string, ref:external or structured)
Arguments
name 
Symbol to identify the object
ref 
A reference to an object of an external type or a structure ( e.g. set, list or array)
Further information
1. This procedure can be used to publish an object in the model dictionary such that it can found by native code using name. Any entity (including local and private) can be exposed with this routine as long as it is of a referenced type (basically any type except integer, real, boolean and string).
2. The provided name must be a valid identifier that is not yet being used by the model as symbol name (including entity and subroutine names). In case of error the procedure raises an IO error.
Related topics