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

Home » Public Forums » archive » nested subroutines and scope
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: nested subroutines and scope [message #29050 is a reply to message #28994] Tue, 29 January 2002 05:46 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Chris O'Dell wrote:

> 1) Is it possible to nest procedures or functions in IDL?

No.


> If you think this is terrible programming practice (which it probably
> is), can anyone suggest a better way, without having to pass
> all the global variables as parameters?

Oh, I always liked pascal's ability to nest procedures and functions.

For IDL, if there are many parameters, I would put them together into a
structure, so you need only pass this single variable then.

Alex
--
Alex Schuster Wonko@planet-interkom.de
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Previous Topic: IDL on OSX?
Next Topic: In case someone has trouble including export.h

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

Current Time: Wed Oct 08 16:52:38 PDT 2025

Total time taken to generate the page: 0.00164 seconds