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

Home » Public Forums » archive » Re: Creating Variables in Programs
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: Creating Variables in Programs [message #12194 is a reply to message #12188] Fri, 10 July 1998 00:00 Go to previous message
Martin Schultz is currently offline  Martin Schultz
Messages: 515
Registered: August 1997
Senior Member
Perry Phillips wrote:
>
> Does anyone know of a way to create a new array under program control, ie
> create a string and use that string to make an array. As far as I can see
> this is impossible in IDL?
>
> --
> Perry Phillips p.phillips@mail.utexas.edu


here's a quick example


IDL> r=execute('a=fltarr(200)')
IDL> help,a
A FLOAT = Array[200]


Martin.
--
------------------------------------------------------------ -------
Dr. Martin Schultz
Department for Earth&Planetary Sciences, Harvard University
109 Pierce Hall, 29 Oxford St., Cambridge, MA-02138, USA

phone: (617)-496-8318
fax : (617)-495-4551

e-mail: mgs@io.harvard.edu
Internet-homepage: http://www-as.harvard.edu/people/staff/mgs/
------------------------------------------------------------ -------
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Returning result from a widget program.
Next Topic: Re: Ineractively building GUIs in IDL 5.1?

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

Current Time: Fri Oct 10 04:45:57 PDT 2025

Total time taken to generate the page: 0.64222 seconds