Versions Compared

Key

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

...

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 list
ListHandle = SRP_List_Create()

// Create a list from an @FM delimited array
InitArray = 1:@FM:2:@FM:3:@FM:4:@FM:5:@FM:6:@FM:7:@FM:8:@FM:9:@FM:10
ListHandle = SRP_List_Create(InitArray)

// Create a list from a comma delimited array
InitArray = "A,B,C,D,E,F,G,H,I,J"
ListHandle = SRP_List_Create(InitArray, ",")