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

Home » Public Forums » archive » Re: Yet again, The Sky is Falling!
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: Yet again, The Sky is Falling! [message #52849 is a reply to message #52847] Thu, 08 March 2007 14:34 Go to previous messageGo to previous message
news.qwest.net is currently offline  news.qwest.net
Messages: 137
Registered: September 2005
Senior Member
"yp" <Yaswant.Pradhan@gmail.com> wrote in message
news:1173383911.537437.293170@h3g2000cwc.googlegroups.com...
>>>> sza = 45.0D ;C (static)

>>>> int_LUT, wave, nwave, 0.0D, 0.0D, 0.0D, chl[i], foq0 ;Case1
>>>> int_LUT, wave, nwave, sza[i], vza[i], dphi[i], chl[i], foq
...
> Not really.
> In Case 1 the arguments are passed by value (which is shown in the
> code)
> in Case 2 (comment the line left to Case1 and uncomment the line left
> to Case2) the arguments are passed by regerence.

I still do not follow what you mean. If you look at the three lines
above, you have sza = 45.0D.

Then you execute the following 2 procedure calls:
IDL> int_LUT, wave, nwave, 0.0D, 0.0D, 0.0D, chl[i], foq0
the next call you have shown is:
IDL> int_LUT, wave, nwave, sza[i], vza[i], dphi[i], chl[i], foq

In the first case, the 3rd parameter is 0.0D.
In the second case, the 3rd parameter is sza[0] = 45.0D.


Anyways, I assume what you actually are doing is something
different than what is shown in the messages you posted.

Why not reduce this problem to a very short example, and
post the code here so we can take a look at it.


Cheers,
bob
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Array resize with arbitrary arithmetic
Next Topic: mpeg creation problem

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

Current Time: Fri Oct 10 17:06:15 PDT 2025

Total time taken to generate the page: 0.87832 seconds