Releases the handle to an SRP Fast Array.

Syntax

SRP_FastArray_Release(Handle)

Parameters

ParameterDescription
HandleHandle to an existing SRP Fast Array (REQUIRED)

Remarks

The SRP_FastArray_Release method releases all the memory associated to the given SRP Fast Array handle. This method should always be called when an SRP Fast Array is no longer needed. However, if you forget to call this, SRP Utilities will clear the memory when OpenInsight closes. Still, it's a good idea so you don't have memory leaks while OpenInsight runs, especially if the OpenInsight application is expected to stay running for very long periods of time.

Examples

// Create an SRP Fast Array, add some stuff, then release it
Handle = SRP_FastArray_Create()
SRP_FastArray_Insert(Handle, 1, 2, 0, "ABC":@SVM:"DEF")
SRP_FastArray_Insert(Handle, 2, 0, 0, "EFG")
SRP_FastArray_Insert(Handle, 3, 1, 7, "HIJ")
Array = SRP_FastArray_GetVariable(Handle);
SRP_FastArray_Release(Handle)
  • No labels