coding of primitives ( wizard stuff )
[numptr] = funptr(name)
a string, the name of a primitive
the internal routine number of the primitive
Utility function (for experts only) to get the internal routine number numptr
of the primitive 'name'
. numptr
is formed from the interface
number fun
and the routine number fin
of the primitive in its interface
by numptr = 1000*fun + fin
(fin < 1000). From numptr
you can get
the interface number fun = floor(numptr/1000)
which may be useful to link a
dynamical interface with arguments passed by reference (see example section).