X# uses the following Workarea operators:
Operator |
Example |
Meaning |
-> |
Customer->LastName |
Field "LastName" in the "Customer" workarea. Field "FirstName" in the current workarea. |
. (Dot) |
Customer.LastName |
In the VFP dialect we also support the DOT (".") syntax for aliased operations. In all other cases, this will produce code that looks for either a CUSTOMER workarea or memory variable at runtime. |
. (Dot) |
M.Name |
In the VFP dialect, we also support the DOT (".") syntax for memvar access. This is also ambiguous because NAME can be both a local variable or a dynamic memory variable "NAME" (public or private). However, the compiler will be able to detect the local variable at compile time, and when this is not found, it will access the dynamic memory variable. |