User:SignpostMarv Martin/Sandbox/Template:LSL/function id
From Second Life Wiki
| LSL Portal | | | Functions | | | Events | | | Types | | | Operators | | | Constants | | | Flow Control | | | Script Library | | | Tutorials |
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

