Functions Index :: A :: ArraySetValueResetDefaultHandler

[<< up one level]

Module:

array :: core

Definition:

ArraySetValueResetDefaultHandler()

Description:

Resets the array value-set handler function to the default AVSLib handler by assigning it to the ArraySetValueHandler global variable.

Returns the previous value of the variable.

Note that this is a global setting affecting immediately all subsequent operations on arrays.

Examples:

function my_array_set_handler(...) {...}

...

oldhandler = ArraySetValueRegisterNewHandler("my_array_set_handler")

# pdrform your custom array operations here

...

# if afterwards you want the default behavior, reset the handler

dummy = ArraySetValueResetDefaultHandler()

 

[<< top]

  $notes