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 #10056 is a reply to message #4955] Sun, 05 October 1997 00:00 Go to previous message
hahn is currently offline  hahn
Messages: 108
Registered: November 1993
Senior Member
Juergen Paff <paff@paff.slip.ethz.ch> wrote:
[...snip...]
> 2) As you learn (name and) type only at run time, you might want to use the
> command

> 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 ***

Maybe the IDL procedure Create_Struct is sufficient for what is
intended.

Hope this helps,
Norbert Hahn
[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: Wed Oct 08 19:33:01 PDT 2025

Total time taken to generate the page: 0.01926 seconds