home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- FUNCTION Saveit
-
- PARAMETERS _temp
-
- _temp = IF( EMPTY(PCOUNT()), .T., _temp)
- IF TYPE("scr_level") = "U"
- RETURN (-1)
- ENDIF
-
- PRIVATE _wlevel
-
- IF _temp
- _wlevel = scr_level
- PUSHSCREEN()
- ELSE
- POPSCREEN()
- _wlevel = scr_level
- ENDIF
-
- * This just calls the PUSHSCREEN() function that just tells it
- * to save the entire screen if there is no parameter passed or
- * if the parameter passed is set to logical true (.T.). Otherwise
- * the function calls the POPSCREEN() logic
-
- RETURN(_wlevel)
-
- * End of File
-
-