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 #76858 is a reply to message #76762] Tue, 05 July 2011 12:32 Go to previous messageGo to previous message
Zac is currently offline  Zac
Messages: 3
Registered: July 2011
Junior Member
Ok, I see where the problem is now, but I don't know IDL syntax well
enough to solve. Can you tell me how I can embed an int into a
string? I would like my loop counter, which is the layer number I'm
looping over, to get written to the file name.

I'm clearly not using '+layr+' correctly. So how do I get an integer
type into the string file name?

filename=''+outdir+'/emissions_'+sim+'_air_level_'+layr+'_'+ pol+'.ps'
[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: Wed Oct 08 18:27:04 PDT 2025

Total time taken to generate the page: 0.00439 seconds