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

Home » Public Forums » archive » Re: function to convert string to array???
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: function to convert string to array??? [message #3839 is a reply to message #3831] Wed, 15 March 1995 19:00 Go to previous message
Chris McCarthy is currently offline  Chris McCarthy
Messages: 4
Registered: March 1995
Junior Member
davis@space.mit.edu wrote:
>
> Hi,
>
> I was wondering if there is a routine that will read a string and convert
> it to an array of floats. ...

Have you tried reads?

a = 0.d0 & b = 0.d0 & c = 0.d0
reads,'9.32323 24323.233 22.124235555d-14',a,b,c
print,c,b,a


-chris
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: idl vs matlab question
Next Topic: 3d histograms

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

Current Time: Sat Nov 29 00:38:03 PST 2025

Total time taken to generate the page: 2.16456 seconds