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

Home » Public Forums » archive » Re: EXECUTE limits?
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: EXECUTE limits? [message #13954 is a reply to message #13953] Mon, 21 December 1998 00:00 Go to previous message
Alex Schuster is currently offline  Alex Schuster
Messages: 124
Registered: February 1997
Senior Member
Wayne Landsman wrote:


> In practice, I find the V5.0 EXECUTE limits the same as they were in V4.0.
>
> In the example below, I try to use EXECUTE to define an anonymous
> structure at run-time. (Note that I can't use the CREATE_STRUCT
> function, because CREATE_STRUCT requires that one know the number of tags
> beforehand.) This works fine so long as the EXECUTE string does not
> exceed a certain length -- which seems to vary from machine to machine.
> Otherwise I get a "Program code area full" error message.

I experienced that such long statements work in compiled code only, not
at the command line or via EXECUTE. BTW, this worked even better in IDL
4.

But you can use CREATE_STRUCT this way:

IDL> d = { name:0 }
IDL> for i = 0, 99 do d = create_struct( d, 'name' + strtrim(i,2), 0 )


Alex
--
Alex Schuster Wonko@weird.cologne.de PGP Key available
alex@pet.mpin-koeln.mpg.de
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Strange widget question
Next Topic: Re: Strange widget question / IDL

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

Current Time: Sat Oct 11 02:24:33 PDT 2025

Total time taken to generate the page: 0.16280 seconds