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

Home » Public Forums » archive » 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 #52962 is a reply to message #52872] Fri, 09 March 2007 14:45 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Mar 9, 2:11 pm, Paul van Delst <Paul.vanDe...@noaa.gov> wrote:
> That's not how I interpreted Mike's post. I meant if given a procedure like:
>
> pro mypro, input_var, output_var
> output_var = input_var + 1.0
> end
>
> then don't call it thusly,
>
> x = 1.0
> mypro, x, x
>
> I don't even know if it's possible in IDL... or f95..or C... or..? Hence my "why on
> earth...?"

Yes it's possible; that was what was happening in the code of the
original poster in this thread (he just wasn't thinking of his
"output_var" as an output). My suggestion is: don't do that.

Mike
--
www.michaelgalloy.com
[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
Previous Topic: mpeg creation problem
Next Topic: reading many files

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

Current Time: Sun Nov 30 00:23:34 PST 2025

Total time taken to generate the page: 0.40318 seconds