Page History
...
IMPORTANT: You should always release the handle to an SRP List when you no longer need it by calling SRP_List_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") // Get the final array NumFields = SRP_FastArray_Count(Handle, 0, 0) NumValues = SRP_FastArray_Count(Handle, 1, 0) NumSubValues = SRP_FastArray_Count(Handle, 1, 2) NumFields = 3 NumValues = 2 NumSubValues = 2 |