NAME

infile - open a data file for use with gen2 or gen3


SYNOPSIS

infile(file_name, file_number)


DESCRIPTION

Open a file containing ASCII or binary data for use with gen 2 or gen 3, respectively.


ARGUMENTS

file_name
The name of the data file to open, in double quotes.

file_number
A number that identifies the data file to your script. You pass this number to gen 2 or gen 3.

Must be between 1 and 50.


RETURNS

Returns the file number (though this will never be different from file_number).


EXAMPLES

   file_num = 1
   infile("myfile", file_num)
   makegen(2, 3, 20, file_num)

Table number 2 will contain 20 values read from the binary data file, ``myfile.''


SEE ALSO

makegen, gen2, gen3