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.

See also: SIZE

LENGTH Return Length of Item