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

Home » Public Forums » archive » Number of local variables in MAIN
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: Number of local variables in MAIN [message #7729 is a reply to message #7655] Fri, 20 December 1996 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Dean Schulze <schulze@cassini.lpl.arizona.edu> writes:

> I got the message
>
> 'Program unit has too many local variables'
>
> while running a series of scripts. 'help' shows 251 local
> variables. The program level is MAIN.
>
> Is there some way to increase the number of local variables?
> I'm running IDL v3.6 on HP-UX 9.05.

There is no way to increase the number of local variables allowed.

There are *lots* of ways to decrease the number of local variables
in your programs, starting with making your programs more modular.
This has the wonderful side-effect of making you a *much* better
IDL programmer automatically. :-)

If it were me, I'd try to run fewer "scripts" and more "programs".

Happy Holidays,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: IDL Programming Update
Next Topic: IDL FAQ

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

Current Time: Mon Dec 01 09:18:10 PST 2025

Total time taken to generate the page: 0.71822 seconds