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

Home » Public Forums » archive » Re: Return two arrays
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 two arrays [message #62773] Tue, 07 October 2008 19:42 Go to previous message
Vince Hradil is currently offline  Vince Hradil
Messages: 574
Registered: December 1999
Senior Member
On Oct 7, 4:31 pm, pgri...@gmail.com wrote:
> You can write a procedure instead
>
> pro f,input,output1,output2
> ...
>
> end
>
> Ciao,
> Paolo
>
> frankosuna wrote:
>> I've been having some problems returning two arrays in which each
>> contains an image of 1024x1024.  I have to return these two images
>> from a function but I haven't been able to get it to work properly.
>> Does anybody know how to do this in a smart way?
>
>> Thanks,
>
>> Frank
>
>

Or keywords:
function foo, secondarray=secondarray
...
return, firstarray
end

Or a structure:
function foo
...
return, {firstarray:firstarray,secondarray:secondarray}
end
[Message index]
 
Read Message
Read Message
Previous Topic: Return two arrays
Next Topic: Re: Viewing a plot under bash?

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

Current Time: Wed Oct 08 19:09:59 PDT 2025

Total time taken to generate the page: 0.00479 seconds