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 #79267 is a reply to message #79266] Sun, 19 February 2012 06:54 Go to previous messageGo to previous message
Israel Rodriguez Herm is currently offline  Israel Rodriguez Herm
Messages: 13
Registered: February 2012
Junior Member
On Feb 19, 2:31 pm, Lajos Foldy <fawltylangu...@gmail.com> wrote:
> 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

Thank you very much!
[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: Wed Oct 08 18:10:01 PDT 2025

Total time taken to generate the page: 0.01824 seconds