LENGTH           Return Length of Item                          MASM Operator
 
  LENGTH variable
 
    Returns the number of BYTE, WORD, DWORD, QWORD, or TBYTE items
    occupied by variable.
 
       Notes:     The type of the variable determines what element size is
                  used.
 
                  The value returned by this value is the number preceding
                  the DUP operator in the variable definition.  Therefore,
                  only variables defined using the DUP operator will
                  return values greater than 1.  String constants will
                  allows return 1.

Seealso:



This page last updated on Fri Nov 30 10:49:50 MSK 2001
Copyright © 1992-2001, Vitaly Filatov, Moscow, Russia
Webmaster