comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: problem with reading formated file
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: problem with reading formated file [message #10137] Thu, 16 October 1997 00:00 Go to previous message
Clemens v. Mann is currently offline  Clemens v. Mann
Messages: 1
Registered: October 1997
Junior Member
Hi

there is an other possibility for the problem,
when the float has no dot ( format problem) :

str_chr = { str_chr, L:'', F:''}
str_chr_arr = replicate( { str_chr}, lines)

// read in as characters
readf, fd, str_chr_arr, format = '(A15, A8)'

str = { str, L:0L, F:0.0}
str_arr = replicate( { str}, lines)

// no needed loop !
str_arr.L = str_chr_arr.L
str_arr.F = str_chr_arr.F

Clemens
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: widget_control,draw_widget
Next Topic: open windows with IDL on two monitors?

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Wed Oct 08 15:33:03 PDT 2025

Total time taken to generate the page: 0.00466 seconds