Page History
...
Code Block |
---|
// Put the system variables onto the stack SRP_Stack("Push", Handle, @Record) SRP_Stack("Push", Handle, @Dict) SRP_Stack("Push", Handle, @ID) // Now we can use them in our own code Open "SomeTable" to hTable then Open "DICT.SomeTable" to @Dict then @ID = "SomeKey" Read @Record from hTable, @ID then // Do stuff end end end // Restore the system variables, but make sure to do it in the correct order @ID = SRP_Stack("Pop", Handle) @Dict = SRP_Stack("Pop", Handle) @Record = SRP_Stack("Pop", Handle) |
...