DEFINE VAR newValue AS INT.
DEFINE VAR offset AS INT INITIAL 3. DEFINE VAR m1 AS MEMPTR. /* Want to update a 4 byte value in the BLOB */ SET-SIZE(m1) = 4. FIND FIRST employee. COPY-LOB m1 TO employee.image OVERLAY AT offset. SET-SIZE(m1) = 0. |