Re: how to suppres warning [message #63060 is a reply to message #62975] |
Thu, 23 October 2008 01:36   |
Ingo von Borstel
Messages: 54 Registered: September 2006
|
Member |
|
|
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 <newsgroups@planetmaker.de>
Public Key: http://www.planetmaker.de/ingo.asc
If you need an urgent reply, replace newsgroups by vgap.
|
|
|