Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense causing c5 errors in IDE
Message
From
29/07/2006 03:29:28
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Intellisense causing c5 errors in IDE
Miscellaneous
Thread ID:
01141452
Message ID:
01141452
Views:
76
I thought this is some strange behavior. In the code sample
below when one types the parenthesis after the only method
defined, VFP will cause a C5 error. Better explanation in
code block.

After playing around with this for around 2 hours, I’ve boiled
it down to the words in my method signature. It seems if I
were to put words “Query”, “Relational”, and “Expresssion” (All
three words, in any order) in the ClassName (after AS) and in
the name of the ClassLibrary the problem exist.

Can anyone explain?

Thanks in advance
LOCAL oTest as test OF Test.fxp
&& oTest.SetRelationalExpression(
&& as soon as one types the "(" Character in the example
&& above VFP will get a C5 error

&& this happens when using intellisense in the 
&& class definition as well as the code above
DEFINE CLASS test as Custom	
  aa = '' 
  protected this as test of test.fxp
  
  FUNCTION SetRelationalExpression(toQueryRelationalExpression as QueryRelationalExpression of QueryRelationalExpression.Fxp)
    && this.SetRelationalExpression( 
    && this call will also cause a C5 error 			
  ENDFUNC 
ENDDEFINE
Next
Reply
Map
View

Click here to load this message in the networking platform