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

Home » Public Forums » archive » Re: converting 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: converting to array [message #24132 is a reply to message #24129] Wed, 14 March 2001 02:32 Go to previous messageGo to previous message
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
davidf@dfanning.com (David Fanning) wrote:

> Norbert Hahn (hahn@hrz.tu-darmstadt.de) writes:
>
>> This is the shortest solution. However, I would read these
>> values into a string, count the words there and then use
>> ReadS to retrieve the data from the string.
>
> Why, for Heaven's sake!?

There are several ways to read numeric data and the method
to read them should be base on how they are written.

1) If the data is written by a program that I can put my
hand on, I usually read the data under format control.

2) If the data comes from some unknown source I prefer to
read the data into a string at first and analyze that
string. This is to prevent program breaks due to wrong
data.

I prefer a program break and some meaningful messages
over a quietly reading program that calmly digests wrong
data.

Norbert
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: plot structured data II
Next Topic: linkimage query

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

Current Time: Thu Oct 16 19:04:57 PDT 2025

Total time taken to generate the page: 1.27962 seconds