2006/10/16, James Bielman jamesjb@haytonsystems.com:
I don't understand exactly what SI:FOREIGN-DATA-RECAST is for here, but the OFFSET argument to %MEM-REF is a raw byte offset, not an element count, so adding it to the base pointer instead of multiplying it by the size seems like a reasonable thing to do here.
Ok. Then it is correct. After sending my previous email I wondered why it would be wrong, given that ECL passes most tests.
Juanjo