[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FUNCTION INITSUP()
Short:
------
INITSUP() Sets SuperLib system interface vars for MONO or COLOR
Returns:
--------
Nothing
Syntax:
-------
INITSUP([lMakePublic])
Description:
------------
Checks SLS_ISCOLOR(), and calls SATTCOLOR() or
SATTMONO() appropriately, to set to default color or mono color
sets. This is only done the first time INITSUP() is called.
If [lMakePublic] is True (default), the old style
SuperLib PUBLIC variables are declared and set to their
corresponding values based on the new SLS_*() and SLSF_*()
functions. This is to help with conversion, but be sure to
change any reference to the old style PUBLIC variables to the
new function calls, as the PUBLICs will not be an option in the
next SuperLib.
Each time INITSUP() is called with (True), the values
in the PUBLIC variables are reset from their SLS_*() and
SLSF_*() counterparts. The PUBLIC declaration is only done
once.
Examples:
---------
INITSUP(.f.) // do not initialize publics
Notes:
-------
This is mainly here for compatibility with older
versions, where INITSUP() was everywhere. INITSUP() previously
set up the PUBLIC variables for use by SuperLib. The PUBLIC
variable set have now been replaced by the SET/ACCESS function
scheme in S_ATTRIB.PRG. INITSUP()'s previous duties have been
replaced by the functions:
SLSF_*()
SLS_*()
SATT*()
See the APPENDIX for upgrading guidance.
Source:
-------
S_INIT.PRG
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson