Versions Compared

Key

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

SRP Fast Arrays are an alternative replacement to BASIC+ dynamic arrays and can greatly enhance performance for large processes.

MethodDescription
SRP_FastArray_CountCounts the number of fields, values, or subvalues in an SRP Fast Array.
SRP_FastArray_CreateCreates a new SRP Fast Array.
SRP_FastArray_DeletePerforms a DELETE on an SRP Fast Array.
SRP_FastArray_ExtractPerforms an EXTRACT on an SRP Fast Array.
SRP_FastArray_GetVariableConverts an SRP Fast Array back into a BASIC+ dynamic array.
SRP_FastArray_InsertPerforms an INSERT on an SRP Fast Array.
SRP_FastArray_InsertFromListInserts an SRP List into an SRP Fast Array.
SRP_FastArray_ReleaseReleases the handle to an SRP Fast Array.
SRP_FastArray_ReplacePerforms a REPLACE on an SRP Fast Array.
SRP_FastArray_ReplaceWithListReplaces an element in an SRP Fast Array with an SRP List.

...

SRP Fast Arrays play nicely with SRP Lists. In addition to using Insert and Replace on single values, you can also insert SRP whole SRP Lists or replace elements with whole SRP Lists. Since SRP Lists have no delimiter recognitions at all, they will behave as though they are delimited one level lower than the insert level. So, if you insert an SRP List into a field position, the SRP List will behave as though it is value-mark delimited.

...