ScriptID

heapPtr ScriptID(number scriptNum, number Index)

Returns the address in memory pointed to by entry Index in the exports segment of SCRIPT.<scriptNum>.

Example

(var heapPointer)
= heapPointer ScriptID(100 4) // gets the address in memory pointed to by entry 4 in the
exports segment of SCRIPT.100.