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

Home » Public Forums » archive » how to suppres warning
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: how to suppres warning [message #63036 is a reply to message #62985] Thu, 23 October 2008 18:13 Go to previous messageGo to previous message
MC is currently offline  MC
Messages: 50
Registered: September 1996
Member
Read the entire line and process it as a string using the same format
that generated it... At least thats how it was done in the dark
ages...

Cheers

On Oct 23, 9:36 pm, Ingo von Borstel <newsgro...@planetmaker.de>
wrote:
> Hi,
>
>> is your problem that you get megabytes of warning texts, but execution
>> continues?
>
> The only error which I get is a type conversion error - which has no
> influence whatsoever and the programme happily continues to run.
>
>> you do not care that some part of your data was not read correctly?
>
> Exactly. I'm reading a data files with different number of columns which
> as the first and last part of each line contains a textual comment -
> which of course fails to convert to a numerical value.
>
>> If it is the former, maybe it is better to suffer the warnings than to
>> waste effort in suppressing them.
>
> Well, yes, I _can_ live with them. As it seems that it's not as easy
> (just changing a switch or compile option yet unknown to me), that's
> what it will be. I know it's not overtly complicated to get rid of them,
> but I would need to customize the read-in procedure (it can deal with
> leading, but not trailing text) which I wanted to avoid in order to
> avoid code duplication.
>
> Thanks for your advice :)
>
> Ingo
>
> --
> Ingo von Borstel                <newsgro...@planetmaker.de>
> Public Key:http://www.planetmaker.de/ingo.asc
>
> If you need an urgent reply, replace newsgroups by vgap.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: changing font type on a widget
Next Topic: QUESTION: is there a command in idl which could clean up memory pieces?

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

Current Time: Fri Oct 10 00:44:47 PDT 2025

Total time taken to generate the page: 0.88154 seconds