home *** CD-ROM | disk | FTP | other *** search
- /*
-
- FILE: PPGET.PRG
-
- PURPOSE: The routines in PPGET.PRG allow for the use of pushing
- and popping the GETLIST object in order to be able
- save and restore get objects.
-
- NOTES: PPGET.PRG must be compiled with the /n compiler switch
-
- */
-
- static GETSTACK := {},; && static array to hold saved gets
- GetSCount := 0 && static variable to hold get counter
- *........................................................................
- proc __PushGet && pushes get objects on the GETSTACK
- *........................................................................
- ++GetSCount
- aadd(GETSTACK,GetList)
- clear gets
- return
- *.......................................................................
- proc __PopGet && pops get objects off the GETSTACK
- *........................................................................
- GetList = GETSTACK[GetSCount]
- --GetSCount
- return