Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- ClipOn 3.0 Reference - c_wwrite() http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 C_WWRITE()

 DESCRIPTION

 The C_WWRITE() function writes a ClipOn window to a given disk file
 for later use without effecting the window or screen display.  This
 can be used to keep large screens in disk files and restore them
 only when needed.  (Refer to Chapter 3 for a complete discussion
 about ClipOn windows.)

 NOTES

 The numeric reference for the ClipOn window is a pointer to the
 window in memory.  Be careful not to change the value of this
 pointer, or the window will be unaccessible.

 SYNTAX

 C_WWRITE(window, file [,network])

 PARAMETERS

 window (N) is the numeric reference variable for the ClipOn window.

 file (C) is the full name of the disk file where the window will be
 saved.  The drive and directory name can be included, if needed.

 network (L) indicates whether or not the program is running on a
 network.  If the program is running on a network pass true (.T.) so
 the file can be opened with the proper share access, otherwise pass
 false (.F.).  If network is not specified, the default of false (.F.)
 is used.

 RETURNS

 C_WWRITE() returns a code indicating the status as follows:

 RETURN CODE    DESCRIPTION
 -----------    -----------
 0              Successful write
 1              Error opening file
 2              Error writing window

 EXAMPLES

 w1 = c_wsave(10,10,20,70)     && Creates window
 ...
 c_wwrite(w1,"WINDOW.FIL")     && Save window w1 to disk file
 ...
 clear
 ...
 && Read window from disk file and restore it on the screen; get new window
 && variable w2 for later use
 w2 = c_wread("WINDOW.FIL")


See Also: C_WREAD() C_WINDOW() C_XWINDOW() C_WSAVE() C_WRESTORE()

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