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

Home » Public Forums » archive » Re: Type conversion error: Unable to convert given STRING to Float.
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: Type conversion error: Unable to convert given STRING to Float. [message #76854 is a reply to message #76762] Tue, 05 July 2011 14:37 Go to previous messageGo to previous message
R.G.Stockwell is currently offline  R.G.Stockwell
Messages: 163
Registered: October 2004
Senior Member
> "Michael Galloy" wrote in message news:iuvc6e$ckm$1@dont-email.me...
>> Open_Device, /ps, /Color, filename=''+outdir+'/emissions_'+sim
>> +'_air_level_'+layr+'_'+pol+'.ps'

> You are doing string operations above, but layr is an int.

just a quick fyi to the OP. IDL is trying to convert '_air_level_' to an
integer, so it can be added to layr (hence the cannot convert STRING to
float message). It's trying to convert all the strings to integers in the
above line.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Type conversion error: Unable to convert given STRING to Float.
Next Topic: North American Regional Reanalysis (NARR) projection

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

Current Time: Fri Oct 10 01:12:43 PDT 2025

Total time taken to generate the page: 1.04031 seconds