home *** CD-ROM | disk | FTP | other *** search
- ********************
-
- PROCEDURE Startup
-
- PARAMETERS _goon
-
- PRIVATE _goon, _withsetkey
-
- IF PCOUNT() = 0
- _withsetkey = .F.
- ELSE
- _withsetkey = _goon
- ENDIF
- _goon = !FILE("Screen.sys")
-
- IF TYPE("scrconfirm") = "U" .AND. TYPE("scrhelp") = "U"
- Publics()
- IF _withsetkey
- Setkeyset()
- ENDIF
- IF !_goon
- RESTORE FROM Screen.sys ADDITIVE
- ENDIF
- ENDIF
-
- IF TYPE("allscreens") = "U"
- PUBLIC allscreens[20], title[6], allcolor[20], allwindows[20]
- ENDIF
- AFILL(allscreens, "")
- AFILL(title, "")
- AFILL(allcolor, "")
- AFILL(allwindows, "")
-
- IF TYPE("scr_level") = "U"
- PUBLIC scr_level
- ENDIF
- IF TYPE("print_way") = "U" .OR. TYPE("title") = "U"
- PUBLIC option, option0, option1, down_opt, print_way
- PUBLIC real_abort, print_file, breakpoint
- ENDIF
-
- STORE 1 TO option, option0, option1, dow_opt, print_way, scr_level
- STORE .F. TO real_abort
- STORE "" TO print_file
- STORE 7 TO breakpoint
-
- IF _goon
- Sys_test()
- ENDIF
-
- * End of File