Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Intellisense in [] delimited query expressions, pls
Message
From
20/09/2005 04:21:00
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
VFPX/Sedna
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01051049
Message ID:
01051158
Views:
9
>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

"Saw replies to the 'Try and Catch' thread today. Rather know it´s a stupid idea than running against this wall."

What part of it was stupid? Requesting try/catch for SQLExec() or complaining try/catch doesn't catch everything?
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform