LSL Function ID

From Second Life Wiki
Revision as of 20:03, 14 February 2008 by Asuka Neely (talk | contribs)
Jump to navigation Jump to search

Function ID refers to the internal index for the function in the function table.

This number is of some interest if you are writing an LSL-LSO (de)compiler; or an LSO VM (or just trying to read LSO with a hex editor). Once assigned they never change as that would break every existing script, new functions are added onto the end of the table.

This may become a non sequitur when the VM & bytecode move over to Mono.

See the initialization in: linden\indra\lscript\lscript_library\lscript_library.cpp