Writes binary (unformatted) data from an expression into a file.
expri
d = BYTSCL(REFORM(FIX(100 * RANDOM(40000)), 200, 200))
Create some data. Argument
d
contains a 200-by-200
byte array.
OPENW, unit, 'wuex.dat', /Get_Lun
Open the file
wuex.dat
for writing.
WRITEU, unit, d
Write the data in
d
to the wuex.dat file.
FREE_LUN, unit
For more information and examples, see Chapter 8, Working with Data Files, in thePV-WAVE Programmer's Guide.