Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Artful Two for Clipper 5.0 - Norton Guide http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]

Syntax

SCR_INIT()

Purpose

Open the SCREENS file if it is not already open. Create it if necessary,
named uniquely in the form SCRNx.FIL.

Arguments

     None.

Setup

If the target system has a ramdisk, use CONFIGURE() to place its pathname
in SYS->Scr_path.

SCR_INIT() is called by PUSH_SCR(). Normally you will
not need to call it directly.

Example

     IF SCR_INIT() ...

Returns

True if the screens file is open, otherwise false. An invalid
SYS->Scr_path, and disk full, are probably the only conditions that would
return false.

Side Effects

In a large application, the SCREENS file may grow to 50-60k. If your
program does not sign off with SIGN_OFF(), it must call SCRAPFILES() before
exiting to close and delete the SCREENS file and any other temporary files.
Failure to close the SCREENS file on exit would probably "lose" disk
clusters.

Artful Calls

DB_OPEN, IS_OPEN, POP_MSG, SCREEN_FILE, MAKE_TABLE

Source File

AA_PPSCR.PRG, AM_PPSCR.PRG

See Also: PUSH_SCR() POP_SCR() SCREEN_FILE()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson