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

Home » Public Forums » archive » Re: casting error
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: casting error [message #70062 is a reply to message #69882] Fri, 05 March 2010 01:46 Go to previous message
oxfordenergyservices is currently offline  oxfordenergyservices
Messages: 56
Registered: January 2009
Member
On 2 Mar, 12:15, Wox <s...@nomail.com> wrote:
> On Tue, 2 Mar 2010 03:56:48 -0800 (PST), a
>
> <oxfordenergyservi...@googlemail.com> wrote:
>> Hi
>
>> I have an error which comes quite infrequently, but it doesn't stop
>> the program...it is a casting error, but I don't know how to fix
>> without the program stopping for me.  any ideas?
>
>> warning below
>
>> % Type conversion error: Unable to convert given STRING to Float.
>
>> Thanks
>
>> Russ
>
> This happens when doing e.g.
> IDL> print,float('test')
>
> To find out where this happens, set except to 2:
> !EXCEPT=2

great, thanks!
[Message index]
 
Read Message
Read Message
Previous Topic: to read and to save multiple fits format files at a time
Next Topic: Converting FORTRAN to IDL

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

Current Time: Sat Oct 11 18:38:30 PDT 2025

Total time taken to generate the page: 1.59844 seconds