Page 1 of 1

need to write/append to a file through routine

Posted: Tue Aug 06, 2013 3:01 am
by sendmkpk
Hi,

I want to write to a file in server routine, is it possible.

Posted: Tue Aug 06, 2013 6:40 am
by chulett
Yes. You basically write to the file as you normally would but use the SEEK command first to move to the end of the file before writing. Lots of information to be found if you do an exact search for "OpenSequentialFile" here and then start at the bottom of the results with Ray's post from 2005 that contains the code for that routine. Other discussions on the subject ensue as you motor forwards in time. :wink:

Posted: Tue Aug 06, 2013 4:37 pm
by ray.wurlod
Craig meant to link to this thread.