Welcome to the SRP Forum! Please refer to the SRP Forum FAQ post if you have any questions regarding how the forum works.

SRP_FastArray insert

Does FastArray have a way of appending values? Or do I have to keep track of the number of items in the array and use Insert?

Comments

  • Nevermind, I just looked the docs it supports -1 for appending.
  • Correct. The goal was to emulate all the dynamic array functions: insert, delete, etc.
  • Just hit an error.
    Calling SRP_FastArray
    sys1000 Error loading program
    SRPUTITIESAPI_DYNAMICARRAYINSERT
    Code that fails is
    Call SRP_FastArray("Insert", New_Load, -1, 0, 0, Inx)
    "Create" and "Match" seemed to work and are called prior to the above line.
  • That should be
    SRPUTILITIESAPI_DYNAMICARRAYINSERT
  • Not sure what was wrong but I just installed 2.0.1 and that fixed the issue.
  • You were probably just missing the DLL stub, and reinstalling put it back in.
Sign In or Register to comment.