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 #52960 is a reply to message #52872] Fri, 09 March 2007 17:33 Go to previous messageGo to previous message
James Kuyper is currently offline  James Kuyper
Messages: 425
Registered: March 2000
Senior Member
Paul van Delst 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...?"

Well, it's trivially possible in every one of those languages - you've
just shown how to do it in IDL. It can even be a good idea, when the
function involved is documented as having been written to handle in-
place creation of an output array from an input array.
[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: Sat Oct 11 06:20:46 PDT 2025

Total time taken to generate the page: 1.86906 seconds