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

Home » Public Forums » archive » Returning result from a widget program.
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: Returning result from a widget program. [message #12317 is a reply to message #12205] Mon, 13 July 1998 00:00 Go to previous messageGo to previous message
Eddie Breeveld is currently offline  Eddie Breeveld
Messages: 4
Registered: July 1998
Junior Member
But common blocks are clear and easy! Your pointer example
(this is me showing some prejudice!) is unclear and more importantly
easy to get wrong.

Eddie Breeveld

David Foster wrote:
>
> mirko_vukovic@notes.mrc.sony.com wrote:
>>
>> Imanol Echave <ccaeccai@sc.ehu.es> wrote:
>>> Hi people:
>>>
>>> I'm writting an IDL function that works with widgets. The user calls an
>> IDL
>>> function that shows an widget interface to input data. When the user pushes
>> the
>>> "OK" button the function has to return a result that depends on the input
>> data.
>>> My problem is where to store this result to return it. Any advice?
>>
>> common block, pointer variable?
>>
>> You can setup a widget cleanup routine (and frankly, I forget their syntax
>> now), where you can do that kind of stuff.
>>
>> mirko
>>
>
> This is definitely the easiest approach, but it's messy and you'll
> regret it later. There is almost always a way to avoid common blocks,
> like my recent reply to Imanol.
>
> Dave
>

--
Edward Breeveld MSSL/UCL, Holmbury St. Mary, Dorking, Surrey RH5 6NT, UK
e.breeveld@physics.org tel: +44 (0)1483 204178/267632 fax: +44 (0)1483 278312
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New IDL FAQ location
Next Topic: Re:pickfile wierdness

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

Current Time: Wed Oct 08 17:24:52 PDT 2025

Total time taken to generate the page: 0.00460 seconds