[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 XPpushScr()
 Push the Screen contents on a Stack
------------------------------------------------------------------------------

   Function:   XPpushScr()

               Simple function to Push the screen contents on a
               Stack. Restore with XPpopScr(). Quite handy in many
               events.

   Syntax:     XPpushScr([t,l,b,r]) --> NIL

   Arguments:  t,l,b,r default to 0,0,MaxRow(),MaxCol()..

   Returns:    NIL

   Usage:      Source:
               Static aScr := {}

               Function XPpushScr(t,l,b,r)
               /***
               * Push Screen on aScr stack
               */
               default t to 0
               default l to 0
               default b to MaxRow()
               default r to MaxCol()
               Aadd(aScr,{t,l,b,r,XPpackScr(SaveScreen(t,l,b,r)),;
                         Row(),Col(),SetColor(),SetCursor(),aColor})
               Return (NIL)

See Also: XPpopScr()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson