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

Home » Public Forums » archive » A related question...
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
A related question... [message #21173] Wed, 09 August 2000 00:00
Med Bennett is currently offline  Med Bennett
Messages: 109
Registered: April 1997
Senior Member
OK, I have tried rewriting my procedure to reduce the number of main level
variables created by passing all of the variables it needs, rather than
running it as a main level program. However, I now get the message

'% Procedure/function called with too many parameters: XSPLOT.'

I'm trying to give it 14 variables as parameters. What's a lousy programmer
to do?

Med Bennett wrote:

> Greetings,
>
> I am having a rather severe problem with IDL 5.0.2. I have a IDL data
> file with a lot of variables, currently about 250. When I ran a program
> that created som new variables, I found to my horror that IDL was
> replacing variable contents with the contents of other variables, i.e. a
> variable called 'AREAID', intead of being a string array of size 16, was
> now a float[193], etc. This was occuring without any warnings or error
> messages being given; only when some of my routines begin failing due
> to data having been overwitten did I realize what was going on. It
> appears that when I attempted to create variables in excess of 255 (a
> guess) , IDL began to randomly reassign existing variables with new
> contents. This is very disturbing, as the integrity of a lot of my data
> is now in question. Some questions: Is there an absolute limit on the
> number of variables in a .sav file? Do later versions of IDL have this
> limit? Why is there no warning of a limit being reached? I realize now
> that I need to compartmentalize my data and reduce the number of
> variables in a single session, but I'm curious if others have had this
> problem or have any suggestions. Thanks in advance-
>
> A slightly panicked
> Med Bennett
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Splitting JPEG files into RGB components
Next Topic: No. of variables allowed?

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

Current Time: Wed Oct 08 15:54:23 PDT 2025

Total time taken to generate the page: 0.00570 seconds