fbinrecwrite

Writes a single sequential access IEEE Fortran record to the file path.


Synopsis

	procedure fbinrecwrite( 
		path [1] : string,
		rec_num [1] : integer,
		value
	)

Arguments

path
pathname to binary file
rec_num
record number to read from the file beginning at 0, -1 for append
value
an array of any dimensionality and type

Description

fbinrecwrite writes a single sequential access IEEE Fortran record to the file path. If rec_num is equal to -1 then value is appended to the end of the file. If rec_num is not equal to -1 then it is the record number to write to. If the size of value is different than the record size in the file an error message is generated and the file path is not modified. If rec_num is greater than the number of records in the file, value is then appended to the file and a warning message is generated.

Reference Manual Control Panel

NG4.1 Home, Index, Examples, Glossary, Feedback, Ref Contents, Ref WhereAmI?


$Revision: 1.8 $ $Date: 1998/11/11 23:32:17 $