Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Visual FoxPro 8.0 news - April 21, 2003
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00779917
Message ID:
00780486
Views:
10
>>Customer.Name
>>
>>can not be typed at compile time. In fact, this could change after compilation. So this would never work.
>
>Not the greatest point in that respect because DataSets and dynamic fields work exactly like that although the syntax is different and it would require a cast:
>
>string Name = (string) drCustomer["Name"];
>
>There's nothing that would preclude a compiler fixing up Company.String to translate into something like the above and performing the type fixup.

Not entirely true. Sure, you could compile this into something collection based, but to do so, you'd first have to type "Customer" to be a table, which is something we do not do in VFP...

Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Previous
Reply
Map
View

Click here to load this message in the networking platform