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

Home » Public Forums » archive » Re: Problem with variable declaration
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: Problem with variable declaration [message #70617 is a reply to message #70518] Wed, 21 April 2010 10:59 Go to previous message
penteado is currently offline  penteado
Messages: 866
Registered: February 2018
Senior Member
Administrator
On Apr 21, 2:55 pm, bala murugan <bala2...@gmail.com> wrote:
>> I am new to IDL. Can you please tell me how to declare a variable as
>> double or float.?
>
> I got it guys,
>
> u=double(u)

That is a conversion, not a declaration. In the case you mentioned
above, you can declare as

u=10d0 & x=5d0
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Arc of a circle
Next Topic: Problem with variable declaration

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

Current Time: Wed Oct 08 19:20:50 PDT 2025

Total time taken to generate the page: 0.00412 seconds