LSL Function ID: Difference between revisions

From Second Life Wiki
Jump to navigation Jump to search
Strife Onizuka (talk | contribs)
No edit summary
Asuka Neely (talk | contribs)
mNo edit summary
Line 1: Line 1:
{{multi-lang}}
Function ID refers to the internal index for the function in the function table.
Function ID refers to the internal index for the function in the function table.



Revision as of 20:03, 14 February 2008

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