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

Home » Public Forums » archive » Re: Return array from a pro
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: Return array from a pro [message #77943 is a reply to message #77942] Sun, 16 October 2011 19:28 Go to previous message
SonicKenking is currently offline  SonicKenking
Messages: 51
Registered: October 2010
Member
On Oct 17, 12:24 pm, Zhang Bo <bzhang20071...@gmail.com> wrote:
> I have a subpro doing some calculation and I want to pass the result
> (several arrays) to the upper level? How to do this? or it is not
> allowed?

you can use output keywords as follows:

pro subpro, a=a, b=b
a = some_calculation_1()
b = some_calculation_2()
end
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Matrix in IDL
Next Topic: Pass variables into Newton or BROYDEN for solving non-linear equations

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

Current Time: Wed Oct 08 20:11:11 PDT 2025

Total time taken to generate the page: 0.00440 seconds