Dec 172017
 
Set clipper snow without changing dos enviorment.
File NOSNOW.ZIP from The Programmer’s Corner in
Category Dbase Source Code
Set clipper snow without changing dos enviorment.
File Name File Size Zip Size Zip Type
SNOW.DOC 1553 726 deflated
SNOW.OBJ 327 282 deflated

Download File NOSNOW.ZIP Here

Contents of the SNOW.DOC file


Snow was written in order to do away with having to specify a
'set clipper=s1' in the environment. For all the time it took
to write, I hereby release it into the Public Domain.

Paul Tucker
Source Id: ADS049
------------------------------------------------------------------

| ============================================================
|SNOW()
| ============================================================
|
Syntax:| SNOW()
|
Purpose:| To get or change clippers' internal flag that determines
| whether screen writes will be performed with snow on a
| color monitor.
|
Argument:| toggles the snow on or off. True (.T.) allows snow
| while false (.F.) disables it. The default setting is
| true (.T.) unless over-ridden by issuing a
| 'SET CLIPPER=S1' command before starting your program.
|
Returns:| A logical value.
|
| SNOW() returns the current snow setting.
|
Example:| The following example allows snow (possibly while drawing
| a lot of boxes on the screen.) which is allows faster
| screen updates:
|
| old_snow=snow(.T.)
| .
| .
| .
| (draw the boxes)
| snow(old_snow)
|
| Or at the begining of a program, snow(.F.) will disable
| snow for at least the summer.
|
|
Linking:| When linking your program, just include snow.obj in the
| link command line. If you have access to LIB from
| Microsoft, you can place snow in the EXTEND.LIB with the
| following command:
|
| LIB extend +snow;
|
|


 December 17, 2017  Add comments

Leave a Reply