[futurebasic] Re: Array to text file

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : August 1998 : Group Archive : Group : All Groups

From: "Thomas Peters" <tpeters@...>
Date: Sun, 23 Aug 1998 21:21:42 -0400
Actually,

Arrays to text and text to arrays...

I developed a application that reads a government international tide table
(text), formats it and outputs it into a text file suitable for Quark
XPress. I want to change the way this works to either create a record and
write it out in FB record format, use arrays or both.

The text file from the government is in the form of 80 column and 365 rows.
One row for each day. The tides for a given day are in raw form in the 80
columns of data. My program currently reads one line at a time parses the
line of text and outputs the data the way I need it. Basically, I insert the
necessary tabs and returns that allow me to paste it into a Quark XPress
document. The Quark document has the tables and layout formatting
pre-designed. I use the same Quark template each year and change the heading
information. What I want to do is create an automated calendar and have the
tides displayed on it for the given day. So I think that the best thing to
do is records.

Essentially, I am doing this for an exercise in arrays and records and am
looking for pointers and suggestions.


Tom