file output [message #21868] |
Fri, 22 September 2000 00:00 |
bishop_98
Messages: 1 Registered: September 2000
|
Junior Member |
|
|
Hello all this may sound like a dumb question but this has been buggin
me. My problem is that when 've processed some thousand rows of data
thats read into an array and wish to ouput it to a new file what happens
is that the row doesn't fit on a line but rather goes over to the next
line but i tried just printing out the values as is instead of the array
and the exact same values fit.
ANY IDEAS WHY THIS IS HAPPENING??
PRO prnt
GET_LUN,unit
OPENW,unit,'prnt.dat'
array=STRARR(13)
array[0]='45479'
array[1]='56.64'
array[2]='-74.63'
array[3]='246.85'
array[4]='262.13'
array[5]='269.13'
array[6]='269.49'
array[7]='252.89'
array[8]='261.92'
array[9]='232.29'
array[10]='232.29'
array[11]='1.62'
array[12]='35.42'
printf,unit,array
CLOSE,unit
OPENW,unit,'prnt2.dat'
printf,unit,'45479 56.64 -74.63 0 246.85 262.13 269.49 252.89 261.92
232.29 232.
29 1.62 35.42'
CLOSE,unit
FREE_LUN,unit
end
Sent via Deja.com http://www.deja.com/
Before you buy.
|
|
|