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

Home » Public Forums » archive » Re: Array elements as named variables?
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: Array elements as named variables? [message #2360] Tue, 28 June 1994 10:37 Go to previous message
jimbrakefd is currently offline  jimbrakefd
Messages: 4
Registered: March 1994
Junior Member
In article <2un02p$lm1@lace.Colorado.EDU>, msegur@newton (The
Ethereal Knight) writes:

> Is it possible to used an element of an array as a named
variable
> in order for a procedure to store a value in it? When I try to do
this, I
> get an error telling me that the expression must be a named
variable, but
> it seems like a reasonable thing to want to do. I know that I can
use a
> dummy variable to store the value, but this seems awfully clumsy. Am
I
> missing something?

Of course one can pass the subscripted array as a text string for
EXECUTE
(.i.e. EXECUTE("A[2,5]" + "=" + "result")

Jim Brakefield
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: call_external under Solaris
Next Topic: Re: event fields

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

Current Time: Fri Oct 10 13:46:35 PDT 2025

Total time taken to generate the page: 0.72017 seconds