myCustomer["customerName"]
Access to expressions that use dot syntax (such as myRecord.myField) can be dynamic. The following rule dictates the behavior: If the leftmost part of a field-access expression (a series of names separated by dots) is a dynamic type, or another expression whose type is Any, EGL uses dynamic access on any fields that follow.
// Define a Dictionary named point point Dictionary{x=1, y=1}; // Access value at key "x" of point anInt = point["x"]; // Access point using normal data access syntax anInt = point.x ; // Access X using variable with value "x" str String = "x"; anInt = point[ str ];