CONSTANT.BI File
◄Summary► ◄Details► ◄Contents► ◄Index► ◄Back►
──────────────────────────────────────────────────────────────────────────────
CONSTANT.BI File
■ Visual Basic comes with an include file called CONSTANT.BI. This file
defines frequently used constants, such as:
TRUE = -1
FALSE = 0
■ The ControlPanel constants are also defined in CONSTANT.BI.
See: ◄ControlPanel Constants►
■ To use the constants in CONSTANT.BI, you must use the $INCLUDE metacommand
at the beginning of each module that you want to have access to the
constants. For example:
' $INCLUDE: 'CONSTANT.BI'
See: ◄$INCLUDE Metacommand►
■ To easily view include-file text, choose Include File from the View
menu.
■ If you need only a few definitions from the CONSTANT.BI file, you can
reduce your memory overhead by creating either:
• A subset of this file
• Your own include file