[Progress Communities] [Progress OpenEdge ABL] Forum Post: RE: buffer-copy and array fields

  • Thread starter Thread starter Stefan Drissen
  • Start date Start date
Status
Not open for further replies.
S

Stefan Drissen

Guest
When a native buffer-copy does not help, you can serialize and deserialize it as xml - abldojo.services.progress.com:443/ define temp-table ttone field ii as int extent 3 . define temp-table tttwo field ii as int extent 4 . def var lcc as longchar. create ttone. assign ttone.ii[1] = 1 ttone.ii[2] = 2 ttone.ii[3] = 3. buffer ttone:serialize-name = "tttwo". buffer ttone:write-xml( "longchar", lcc ). buffer tttwo:read-xml( "longchar", lcc, ?, ?, ? ). find tttwo. message 1 tttwo.ii[1] skip 2 tttwo.ii[2] skip 3 tttwo.ii[3] . NOTE: just for fun - beware that read-xml and write-xml operate on the temp-table and not the record.

Continue reading...
 
Status
Not open for further replies.
Back
Top