Is there a way besides WorkArea->Fieldname??

This forum is meant for questions about the Visual FoxPro Language support in X#.

Post Reply
Anonymous

Is there a way besides WorkArea->Fieldname??

Post by Anonymous »

Just curious... Is there now, or will there ever be, a way besides WorkArea->Fieldname??

I really like the WorkArea.Fieldname syntax that VFP has better than ->.
User avatar
robert
Posts: 4552
Joined: Fri Aug 21, 2015 10:57 am
Location: Netherlands

Is there a way besides WorkArea->Fieldname??

Post by robert »

Matt,
In one of the next builds we will implement WorkArea.Field, but like I already said in another thread, it will be difficult to do it in an optimized way, because Customer.LastName could mean using the LastName property of the undeclared Customer variable or the LastName field in the Customer workarea. The Alias (->) operator does not have this problem.

Robert
XSharp Development Team
The Netherlands
robert@xsharp.eu
Post Reply