Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense in [] delimited query expressions, pls
Message
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Title:
Intellisense in [] delimited query expressions, pls
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01050200
Message ID:
01050200
Views:
75
Anders Hejlsberg: "LINQ allows query expressions to benefit from ... compile-time syntax checking, static typing and IntelliSense that was previously available only to imperative code."

Curiosity almost killed me when they first talked about the Fox in VB some weeks ago. While I´m still trying to partially understand the code and get through the article half way, there is a Sedna idea:

*************************
Could you enhance Intellisense that it kicks in if one uses square brackets instead of double quotes for query expressions,...?
*************************

My idea actually originates from the constant values in VFP being filled in at precompile time when using square brackets instead of other delimiters (single / double quotes).
#DEFINE wdthxrnr 3
*index expression
gaCdxX(1,1)=[CHARFIELD+STR(INTFIELD,wdthxrnr)]

*results in
gaCdxX(1,1)=[CHARFIELD+STR(INTFIELD,3)]
*at compile time
BTW: I´d *never ever* found this little gem nowadays if I hadn´t known it for ten years or more.

And: I´d *never ever* comprehend the difference between Evaluate() and macro substitution from the docs if I wouldn´t already know.

And: Comments would be greatly appreciated. Still waiting for ALocks() comments and a working Isolated VFP COM object in a .Net app.

Thanks
G
Next
Reply
Map
View

Click here to load this message in the networking platform