![]() |
Customization Area |
Changes |
PRM_Type | The PRM_Type data type was changed from a simple integer bit field into a class. In most cases this change will require nothing more than recompiling your operators. But if your code manipulates PRM_Type values in unusual ways, some small changes may be required. In particular, PRM_Type values should never be cast to int values or vice versa. Also, PRM_Type values can no longer be used in switch statements. Switch statements may need to be replaced by a series of if/else statements. If only part of the PRM_Type is used in the switch (the most common case is "type & PRM_TYPE_BASIC_TYPE"), you may still be able to do a switch on one component of the PRM_Type ("type.getBasicType()" in the previous example). See The SHOP_CustomClerk sample for an example of this change. |