Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

IMPORTANT: You should always release the handle to an SRP Fast Array when you no longer need it by calling SRP_FastArray_Release.

Examples

Code Block
// Create an empty fast array
Handle = SRP_FastArray_Create()

// Insert several values
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")

// Replace DEF with XYZ
SRP_FastArray_Replace(Handle, 1, 2, 2, "XYZ")

// Get the final array
Variable = SRP_FastArray_GetVariable(Handle)

...