Inserts a count into an IBIS graphics file
Inserts a number at the beginning of an image based information system (IBIS) graphics file. This number is usually the count of the values in the file.
- INFILE
- Input file. Input IBIS graphics file.
- OUTFILE
- Output file. Output IBIS graphics file.
- INSTVAL(--)
- Insert value. Number to insert at the beginning of OUTFILE. The default value indicates that the count of the number of values in the entire input graphics file is to be used.
The number of values in the entire input graphics file is written at the beginning of the output graphics file. The count is followed by the values from the input file.
A value of 10 is placed at the beginning of the output graphics file. The values from the input file are copied to the output file after the count.
The program begins with the standard initialization and retrieval of user-specified parameters. The input graphics file is read in. The appropriate count is written to the output graphics file, followed by the values from the input file.
An error was encountered while closing the <XXXXX> file. The data may still be valid.
A fatal error was encountered during processing. The output IBIS graphics file may or may not be valid. The message that is displayed immediately preceding this message is the specific error that was encountered.
An error was encountered while trying to open the specified file.
An error was encountered while trying to read from the input IBIS graphics file.
An error was encountered while trying to write to the output IBIS graphics file.