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:
01051049
Message ID:
01051049
Views:
49
I´m addressing this to you personally and hope it doesn´t get ignored again. Saw replies to the 'Try and Catch' thread today. Rather know it´s a stupid idea than running against this wall.

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, 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
*******************
Wouldn´t it be a very straightforward enhancement if the square brackets would not only be 'transparent' for pre-compile, but for syntax-checking and Intellisense too?
*******************

BTW: I´d *never ever* found this little gem in the docs / 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