bytecodegiven a function returns the "bytecode" of a function in a Scilab array and conversely. Calling Sequence
x = bytecode(f)
f = bytecode(x)
Argumentsf
A Scilab function.
x
an int32 row vector
Descriptionx = bytecode(f) returns the "bytecode" of
the function f in the Scilab integer array
x.
f= bytecode(x) returns in
f the function associated with the
"bytecode" given in the Scilab integer array
x.
Warning: the validity of x is not checked.
Remark
The bytecode of Scilab function will evolve drastically in the
future, so the use of this function should be restricted to the
profiling instruction handling.
ExamplesSee Also
add_profiling
bytecodewalk
macr2lst
macr2tree