Page History
SRP Fast Arrays are an alternative replacement to BASIC+ dynamic arrays and can greatly enhance performance for large processes.
Method | Description |
---|---|
SRP_FastArray_Count | Counts the number of fields, values, or subvalues in an SRP Fast Array. |
SRP_FastArray_Create | Creates a new SRP Fast Array. |
SRP_FastArray_Delete | Performs a DELETE on an SRP Fast Array. |
SRP_FastArray_Extract | Performs an EXTRACT on an SRP Fast Array. |
SRP_FastArray_GetVariable | Converts an SRP Fast Array back into a BASIC+ dynamic array. |
SRP_FastArray_Insert | Performs an INSERT on an SRP Fast Array. |
SRP_FastArray_InsertFromList | Inserts an SRP List into an SRP Fast Array. |
SRP_FastArray_Release | Releases the handle to an SRP Fast Array. |
SRP_FastArray_Replace | Performs a REPLACE on an SRP Fast Array. |
SRP_FastArray_ReplaceWithList | Replaces 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.
...