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

Home » Public Forums » archive » Re: Name of arrays
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: Name of arrays [message #79268 is a reply to message #79267] Sun, 19 February 2012 05:31 Go to previous messageGo to previous message
Lajos Foldy is currently offline  Lajos Foldy
Messages: 176
Registered: December 2011
Senior Member
On Feb 19, 1:30 pm, Israel Rodriguez Hermelo <israelherm...@gmail.com>
wrote:
> Hi there!
>
> I'd like to use a string as part of the name of an array:
>
> MONTH = [ 'FEBRUARY' , 'JULY' ]
>
> TEMPERATURE+MONTH(0)=fltarr(28)
>
> TEMPERATURE+MONTH(1)=fltarr(31)
>
> I found any way to do this simple task. Anybody can help me?
>
> Thanks in advance!


(scope_varfetch('TEMPERATURE'+MONTH(0), /enter))=fltarr(28)

regards,
Lajos
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: tracking clusters through multiple timesteps
Next Topic: Issue with console of workbench 8.0

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

Current Time: Fri Oct 10 04:48:42 PDT 2025

Total time taken to generate the page: 0.32105 seconds