Is there another way to write this code ?

536 views
Skip to first unread message

Reginald Bailly

unread,
Sep 25, 2013, 1:52:51 PM9/25/13
to multisoft...@googlegroups.com
Is there another, more compact, more modern way to write the following code ?

select (xfile1)
select (xfile2)
do while !eof()
    assign  (some 60 ) fields to variables
    ...
    select  (xfile1)
    append blank
    replace data in xfile1

   select (xfile2)
   skip
enddo


Paul

unread,
Aug 24, 2020, 7:28:58 AM8/24/20
to multisoft...@googlegroups.com
See FieldGetArr() and FieldPutArr() in the FlagShip manual. It stores and writes whole database record in/from an array.

Best regards,
Paul
Reply all
Reply to author
Forward
0 new messages