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

Home » Public Forums » archive » Defining structuretype during runtime?? QUESTION!! (no reply)
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: Defining structuretype during runtime?? QUESTION!! (no reply) [message #10052 is a reply to message #4955] Mon, 06 October 1997 00:00 Go to previous messageGo to previous message
mgs is currently offline  mgs
Messages: 144
Registered: March 1995
Senior Member
In article <618ta0$l4m$3@sun27.hrz.th-darmstadt.de>,
hahn@hrz.tu-darmstadt.de (Norbert Hahn) wrote:

> Juergen Paff <paff@paff.slip.ethz.ch> wrote:
...
>> return_status=execute(string_argument)
>
>> string_argument has to be a string that conains a command that is valid at
>> run time. Consider the following situation:
> [...snip...]
> Ahem, but look at this warning included in the help for execute:
> *** begin of quote ***
> "Warning
>
> "Do not use EXECUTE to create new variables inside procedures or
functions. All
> variables used by the string that is executed should be
> referenced or defined when the program unit is originally compiled. New
> variables cannot be created after a procedure or function is
> compiled. Attempts to create new variables result in the error "Program data
> area full".
> *** end of quote ***

I think this is an IDL 4.0 limitation. Of course, I just removed IDL 4.0
from my system an hour ago. From the IDL 5.0 "New IDL Language Features"
section:

Limits Removed
The following limits that existed in previous versions of IDL have been removed:
...
There are no limits on new variables added by EXECUTE and RESTORE.
...

What version did Norbert's quote come from? I checked as many references
to Execute as I could find in a few minutes, but didn't find one with the
statement Norbert quoted.

--
Mike Schienle Interactive Visuals
mgs@sd.cybernex.net http://ww2.sd.cybernex.net/~mgs/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Named and Anonymous structures ?
Next Topic: wavelet spectra help

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

Current Time: Fri Oct 10 00:13:31 PDT 2025

Total time taken to generate the page: 0.16002 seconds