[futurebasic] Re: [FB] Still need help with Write File

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Martin Fitzgibbons <d8171hn1@...>
Date: Mon, 20 Sep 1999 09:19:54 +1000

Rick Brown wrote:

> M Fitzgibbons wrote:
>
> > Martin Fitzgibbons wrote:
> >
> > > I want to write a number of items to the one file
> > >
> > > 1. load text file1 to hndl&
> > > 2. Array data in memory
> > > 3. load text file2 to hndl2&
> > >
> > > What is the best way to write these 3 items back out to the one file?
>
> Do you need help with accomplishing Steps 1, 2 and 3?  Or do you already have
> that part done, and just need to know how to combine all that data into an
> output file?

I have steps 1,2,3 in place. What I have tried to do while waiting for help is

Save hndl& out to a file using Write,
Append the Array data out using Print
Save hndl2& out to a file using Write

Before I crashed last night I think this was sort of working but it seemed a
little inefficient.
I thought it might be easy to combine the 3 lots of data and write it out once.

Also how do you add a CHR$(13) to the end of a handle in memory (another issue)

Thanks Martin