Last active
April 22, 2016 15:51
-
-
Save jbratu/94383b79131d9f738e30e38fa6260139 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Original source: http://www.sprezzatura.com/library/whitepapers/OI%20Coding%20Standards%20v1%200%207.pdf | |
//Protect any active select list. Pop it at end of routine. | |
saveAtDict_ = @dict | |
saveAtRecord_ = @record | |
saveAtID_ = @id | |
saveAtRecCount_ = @recCount | |
saveAtRnCounter_ = @rn.Counter | |
A_ = 0 ; B_ = 0 ; C_ = 0 ; D_ = 0 | |
call push.Select( A_, B_, C_, D_ ) | |
//Perform new selections here | |
//Call RLIST() | |
//Restore any previous saved selects | |
call pop.Select( A_, B_, C_, D_ ) | |
transfer saveAtDict_ to @dict | |
transfer saveAtRecord_ to @record | |
transfer saveAtID_ to @id | |
transfer saveAtRecCount_ to @recCount | |
@rn.Counter = saveAtRnCounter_ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment