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

Home » Public Forums » archive » Unknown error
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: Unknown Error [message #14044 is a reply to message #8046] Mon, 18 January 1999 00:00 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Bertrand Revenaz (breven@po-box.mcgill.ca) writes:

> I'm new to both PV-wave and IDL but I have to translate Wave files to
> idle. Nothing fancy just some graphing files to plot the results of a
> model. No interface or anything, it just makes the images. When I try to
> run the files under IDL I get the following message
>
> %prgram code area full
>
> I can't find any reference to it in any of the manuals. Can anybody help
> me...

You have in your hands a not-so-well-written IDL program. :-)

Basically, it is too big to be compiled in the space IDL sets
aside to compile programs. This should not be a problem in
IDL 5.x versions of IDL because the size will be set aside
dynamically, but you may have configure the amount of memory
set aside for this by hand in earlier versions of IDL. You
use the .Size executive command for this purpose.

IDL> .Size 50000 25000

The other alternative (and what I strongly recommend) is
to learn how to write more modular code. This will save
you hours and hours of time when it is necessary to
extend and maintain your programs.

My guess is this program you have is a gigantic main-level
program, when it could easily be 4-5 self-contained IDL
procedures or functions.

Cheers,

David

--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155

[Note: This follow-up was e-mailed to the cited author.]
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Segmentation
Next Topic: Thick keyword

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

Current Time: Sun Nov 30 08:25:15 PST 2025

Total time taken to generate the page: 0.00995 seconds