.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.
Seealso:
This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster