GetOverrides

(Engine-Level Function)

Description Returns an array of OpCodes and the module value that will run when each OpCode is executed
Warning This function should be used only by advanced programmers.
Returns 2-dimensional array
Usage Script Only.
Function Groups Compilation and On-Line Modifications,  Advanced Module
Related to: SetOverride
Format GetOverrides(TargetModule)
Parameters  
TargetModule
Required. Any expression that can be resolved to a module value.
Comments

The target module will be queried for a list of overridden OpCodes. The return value is a 2 dimensional array where the first dimension is the override as set by SetOverride and second dimension will be [0] for the OpCode and [1] for the corresponding module that has been set to override that opcode.

Together with SetOverride, this provides the ability to override a built-in function in a module with a module call. It is used primarily for testing. See SetOverride for full details.