RAD Studio
ContentsIndex
PreviousUpNext
E2051: Invalid use of dot

An identifier must immediately follow a period operator (.). This is a rare message that can only occur in some specialized inline assembly statements. 

Example  

struct foo {
  int x;
  int y;
}p = {0,0};
int y;
int main (void)
{
  asm mov eax.(foo)x, 1;
  asm mov eax.(foo)4, 1;       /* Error: Invalid use of dot */
  return 0;
}
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!