[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
.TYPE            Return Mode and Scope of an Expression         MASM Operator

  .TYPE expression

    Returns a byte that declares the mode and scope of an expression.

       Notes:     Below is the format of the byte that is returned:

                          Bits
                    7 6 5 4 3 2 1 0
                    x . . . . . . .  1=External scope; 0=Local or Public scope
                    . x . . . . . .  Always 0
                    . . x . . . . .  Defined
                    . . . x x x . .  Always 0
                    . . . . . . x .  Data-related
                    . . . . . . . x  Program-related

                  If the expression is not valid, the entire byte is 0.

                  This operator is often used with conditional directives,
                  where the status of a variable is needed for program
                  control.

See Also:
This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson