Versions Compared

Key

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

...

Code Block
// Create the stack
Handle = SRP_Stack("Create")

// Add values
SRP_Stack("Push", Handle, "ABC")
SRP_Stack("Push", Handle, "DEF")
SRP_Stack("Push", Handle, "EFG")

// Peek at the top of the stack, which will be "EFG"
VavlueValue = SRP_Stack("Peek", Handle)

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

...