Versions Compared

Key

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

...

The Count service gets the size of the list. The count includes blank elements. In other words, this method tells you the number of elements that will results when you call GetVariable.

Examples

Code Block
// Create an empty list
Handle = SRP_List("Create")

// Set 1 element at index 7
Index = SRP_List("SetAt", Handle, 7, "SRP")

// If we get the count, it will be 7, even though the first 6 are blank
Count = SRP_List("Count", Handle)

// Play nice with memory
SRP_List("Release", Handle)