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.
STATIC Statement
  ◄Summary►  ◄Details►  ◄Example►                ◄Contents►  ◄Index►  ◄Back►
──────────────────────────────────────────────────────────────────────────────
 Makes simple variables or arrays local to a SUB or FUNCTION procedure or a
 DEF FN statement and preserves values between calls.
 
    STATIC variable[()] [AS type] [,variable[()] [AS type]]...
 
    ■ variable    Any valid array or variable name
 
    ■ ()          Indicates array declaration
 
    ■ AS type     (Default - SINGLE) Declares the data type of an array or
                  variable; use a separate AS type clause for each variable
                  defined
 
 See Also
     ◄DEF FN Statement►                ◄FUNCTION Statement►
     ◄$STATIC Metacommand►             ◄SUB Statement►
     ◄Variables Summary►