Program adt

Adt reads in data records and adds them to the data file (fort.95)

Input data records

The input to adt is a series of labeled data records in the format described below. If any records are already present on the data file, then the old record is replaced by the new data.


Character data is enclosed in single quotes, 'Character String'.

There are two formats for the input of a DataRecord:

If all of the data will fit on a single line (and read using a single read stament) then the format is

label data1 data2 ... # comment

Alternatively one can continue the data to multiple lines using "-" at the end of each continued line

label data1 data2 - # comment
data3 data4 - # comment
data5 data6 ... # comment

Note that the last line does not have a "-" continuation mark.

The second form uses multiple input lines, this can either be because there are multiple read statements for the input or because it is more convenient to present the data on multiple lines. The format for this type of input is:

label # comment
data1 data2 # comment
data3 data4 ... # comment