qck.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Functional Operators
                                                 Contents  Index  Back
──────────────────────────────────────────────────────────────────────────────
 Functional Operators
 
 ■ A function is used in an expression to call a predetermined operation to
   be performed on an operand. For example, SQR is a function used twice in
   the following assignment statement:
 
         A = SQR (20.25) + SQR (37)
 
 ■ Visual Basic incorporates two kinds of functions:
   • Intrinsic: many predefined functions are built into the language - for
     example, the SQR (square root) and SIN (sine) functions.
   • User-defined: you can define your own functions with the FUNCTION...END
     FUNCTION construction or with the older, obsolete DEF FN...END DEF
     construction. Unless they are in a Quick library, such functions are
     defined only for the life of the program and are not part of the Visual
     Basic language.
 
 ■ In addition to FUNCTION and DEF FN, Visual Basic allows you to define
   subprograms with SUB.
   See: DEF FN Statement  FUNCTION Statement  SUB Statement
 
 See: Expressions and Operators Summary