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

Home » Public Forums » archive » Re: IDL5 and large structures: Program code area full
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: IDL5 and large structures: Program code area full [message #10507 is a reply to message #10506] Tue, 09 December 1997 00:00 Go to previous messageGo to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Wow, I get fast responses today!

David Fanning helped me a lot when he wrote:

> [reasonably long structure snipped]
>
>> Can anyone using IDL 5.02 be so kind check if this works?
>
> Well, it certainly works as you describe when it is "pasted"
> onto the IDL command line, but why in the world would you
> be doing this?

This code is part of a script, which I invoke via @.
The code I posted isn't the original code, I tried to make it more
readable. In the original code, the variables (some_variable, str80
etc.) are defined as system variables via DEFSYSV. I didn't like common
blocks when I wrote the program, so I chose to use global system
variables.

>> And, no, I
>> don't even think about modifying the program in any way.
>
> Well, I think I would modify it by adding an END statement
> and at least running it as a main-level program. At least
> then it will work. :-)
>
> IDL> .Run structure_def

Good idea! I really should have tried this myself.
After some changes (I define the structure in the program, and then,
outside, the system variable) the code now compiles completely, and
works.

Thanks!

Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: R,G,B image
Next Topic: Re: Progress and Widgets

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

Current Time: Sat Oct 11 20:17:58 PDT 2025

Total time taken to generate the page: 0.79966 seconds