fbindirwrite

This function writes records to a file in a manner similar to that written by Fortran code that opens a file with "access=direct".


Synopsis

	procedure fbindirwrite( 
		path [1] : string,
		value
	)

Arguments

path
pathname to binary file
value
an array of any dimensionality and type

Description

fbindirwrite writes records to a file in a manner similar to that written by Fortran code that opens a file with 'access=direct'. If the file exists value is appended to the file.

Example

 
  ntimes = 100
  z    = new ( (/ntimes,64,128/), float)
         .
  path = "/dummy/file"
  do n=0,ntimes-1
     fbindirwrite(path,z(nt,:,:) )
  end do
This will write ntimes records, each of length 64x128 float words.


Reference Manual Control Panel

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


$Revision: 1.5 $ $Date: 1998/11/11 23:32:16 $