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

Home » Public Forums » archive » Re: string conversion & integer
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: string conversion & integer [message #56634] Thu, 08 November 2007 15:59 Go to previous message
rkombiyil is currently offline  rkombiyil
Messages: 59
Registered: March 2006
Member
On Nov 9, 8:45 am, David Fanning <da...@dfanning.com> wrote:
> metachronist writes:
>> Thank you for your reply. I am glad the reply was gentle ;-)
>
> Geez, a guy has an argument with his wife and the whole
> world holds it against him. I SAID I was sorry! :-(
>
>> This is really weird! And I can't figure out what might be wrong. I
>> pass dd_d via call to a procedure, wherein it gets stored as e_dd. It
>> is getting passed alright, but I try to do the conversion within the
>> procedure and it fails. Am I doing something so fundamentally wrong
>> here?!
>
> Ah, this is a FAMOUS gotcha! See this article:
>
> http://www.dfanning.com/misc_tips/noidea.html
>
> Change this line:
>
> print,where(x.dd eq fix(e_dd))
>
> To this,
>
> print,where(x.dd eq fix(e_dd[0]))
>
> and you will get what you expect. :-)
>
> Cheers,
>
> David
>
> --
> David Fanning, Ph.D.
> Fanning Software Consulting, Inc.
> Coyote's Guide to IDL Programming:http://www.dfanning.com/

Thank you David, for taking time off to reply. That solves the problem
-- at least for now :) Onward to more generalizations!
Cheers,
~r
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: MAP keyword
Next Topic: Re: MAP keyword

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

Current Time: Wed Oct 08 15:33:55 PDT 2025

Total time taken to generate the page: 0.00413 seconds