INFO: TYPE Operator Expressions Not Allowed for Inline Assembly (67038)



The information in this article applies to:

  • Microsoft C for MS-DOS
  • Microsoft C for OS/2
  • Microsoft Visual C++ for Windows, 16-bit edition 1.0
  • Microsoft Visual C++ for Windows, 16-bit edition 1.5
  • Microsoft Visual C++, 32-bit Editions 1.0
  • Microsoft Visual C++, 32-bit Editions 2.0
  • Microsoft Visual C++, 32-bit Editions 4.0
  • Microsoft Visual C++, 32-bit Editions 5.0
  • Microsoft Visual C++, 32-bit Editions 6.0

This article was previously published under Q67038

SUMMARY

The TYPE operator in MASM returns a number that represents the type of an identifier or expression. With the inline assembly capability in the compiler, the TYPE operator does not have the full functionality that it does in MASM. In an _asm block, the TYPE operator will only accept an identifier because expressions are not allowed.

Modification Type:MinorLast Reviewed:7/5/2005
Keywords:kbCompiler kbinfo kbVC220fix KB67038