Page History
...
Code Block |
---|
// Create a fast array Handle = SRP_FastArray("Create", "Apple":@FM:"Banana":@FM:"Carrot") // Find banana (MatchAll is the default) SRP_FastArray("Match", Handle, "banana", FieldPos, ValuePos, SubValuePos, 0) // Result: FieldPos = 2, ValuePos = 1, SubValuePos = 1 // Find Doughnut SRP_FastArray("Match", Handle, "doughnut", FieldPos, ValuePos, SubValuePos, 0"MatchAll") // Result: FieldPos = 0, ValuePos = 0, SubValuePos = 0 // Find App anywhere SRP_FastArray("Match", Handle, "app", FieldPos, ValuePos, SubValuePos, 1"MatchAnywhere") // Result: FieldPos = 1, ValuePos = 1, SubValuePos = 1 // All done Variable = SRP_FastArray("Release", Handle) |