G
George Potemkin
Guest
For me a LIKE option means its own datatype. For example: define var vTableReads LIKE _TableStat._TableStat-read. define var vMyTableReads LIKE _UserTableStat._UserTableStat-read. If somewhere in the code I would see: "vTableReads = vMyTableReads" then my personal rules will treat this as the "incompatible data types" regardless of data types of the original VST fields.The values from variables defined LIKE _TableStat-read can be assigned only to the variables defined with exactly the same option. Both the "mileage" and the "price" fields can be of DECIMAL type but logiacally it's not allowed to exchange the values between these fields. The future Progress versions could change the types of VST fields to INT128 but the code will still work without any changes.
Continue reading...
Continue reading...