Home    Reference Manuals    Return    Track Group Documentation



Users Manual for Program TRC_NUMBER  




Table of Contents

   Introduction
   Input data commands
   Example




Introduction

Program TRC_NUMBER adds a numbered column to a file, or renumbers the first column of a file.



Input data commands

Input data is read in free format, valid separators between the input values are <space>, <comma>, <tab>, <equal sign> or <carriage return>. The commands can be written both in lower and upper case letters. The operation of the program is controlled by the commands described below; some of the commands also need arguments.


INFIL
Input data file
Declared = Character*132    Default = Blank

UTFIL
Output data file.
Declared = Character*132    Default = Blank

XAXIS
Controls if a new column to INFIL shall be created or renumbered.
XAXIS= "create"   Program TRC_NUMBER will create a new column in INFIL.
XAXIS= "replace"   Program TRC_NUMBER will renumber the first column in INFIL.
Declared = Character*8    Default = "create"

XSTART
Defines the starting number of the first line in the first column of INFIL.
Declared = Real*4    Default = 0.

XINC
Defines the increment in the first column between two consecutive lines in file INFIL.
Declared = Real*4    Default = 1.



Example of an input data file

Following example: Master.trc_numberf can be used as a master file:

                                                       
 ##                                                    
 ##      Input data file for program trc_number        
 ##                                                    
   XAXIS = replace                                     
   XSTART= 0.                                          
   XINC  = 1.                                          
   INFIL = $gentrc/K0_4a21-n-k.trac                    
   UTFIL = K0_4a21-n-k.new_numbers.trac                
 ##