Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Some news about Etecnologia VFP.compiler ??
Message
From
28/02/2008 13:08:58
Thomas Ganss (Online)
Main Trend
Frankfurt, Germany
 
General information
Forum:
Visual FoxPro
Category:
VFP Compiler for .NET
Miscellaneous
Thread ID:
01295603
Message ID:
01297478
Views:
27
Hi Samuel,

just typing as I am thinking on this...

Is this a compiler pragma changeble in mid-code (like a #define set in code) or something set globally before a build ?
>TLOCAL myTable as SomeDatabase::SomeTableOrView
myTable = GetTableInterface([eSomeAlias])
>? MyTable.MynField  && Ok it exists
>? MyTable.MyNotExistsField && Error at compile time, this field does not exists
>
Would this not break on some alter table allowed today or make the code potentially unsafe against "simple" table exchanges keeping the field types but adding fields "in front" ? This assumes that GetTableInterface([eSomeAlias]) creates a struct with the field offsets of the table header at compile time, but any changes could blow that "assumption". Otherwise I how do you get the speed difference if you still interpret the header as it currently is ?

curious

thomas
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform