Looks like that will do it. Thanks for opening my eyes.

Steve Smith

Skadt Information Solutions
Office: (519) 624-4388
GTA:    (416) 606-3885
Fax:    (519) 624-3353
Cell:   (416) 606-3885
Email:  [EMAIL PROTECTED]
Web:    http://www.skadt.com


> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED]]On Behalf Of Tom Lewis
> Sent: September 10, 2002 11:05 AM
> To: Multiple recipients of list witango-talk
> Subject: Re: Witango-Talk: Variable Assignment
>
>
> I usually find that shorthand coding doesn't always work as expected...
> would the following work better?
>
> <@ASSIGN NAME="request$r_section<@VAR request$r_sectioncounter>"
> VALUE="<@VAR
> NAME='request$r_group<@VAR
> request$r_importcounter[1,@@request$r_sectioncounter]>
> '>">
>
>
> >Not sure if this is a beta problem or not, but I am using Windows beta 5.
> >
> >I'm making a variable assignment using:
> >
> ><@ASSIGN NAME="request$r_section@@request$r_sectioncounter" VALUE="<@VAR
> >NAME='request$r_group@@request$r_importcounter[1,@@request$r_sect
> ioncounter]
> >'>">
> >
> >This is inside of a <@FOR> loop that loops through the number of columns
> >inside of r_group@@request$r_importcounter but it keeps failing.
> Rather than
> >breaking up what is in each column of <@VAR
> >NAME='request$r_group@@request$r_importcounter'> and putting the contents
> >into individual variables, Witango is putting the entire array
> into each new
> >variable.
> >
> >When I replace @@request$r_importcounter with a value (say 1 for
> testing) it
> >works fine.
> >
> >It looks like what is happening is that Witango is applying the array
> >attributes ([1,@@request$r_sectioncounter]) to the
> r_importcounter variable.
> >I want them applied to the r_group@@request$r_importcounter
> variable (i.e.
> >r_group1, r_group2, etc.) so that I would get r_group1[1,1] into
> the first
> >variable, r_group1[1,2] into the next, through all of the columns of
> >r_group1 and then move on to r_group2.
> >
> >Is there anyway to work around this?
> >
> >Please let me know.
> >
> >Thanks,
> >
> >Steve Smith
> >
> >Skadt Information Solutions
> >Office: (519) 624-4388
> >GTA:    (416) 606-3885
> >Fax:    (519) 624-3353
> >Cell:   (416) 606-3885
> >Email:  [EMAIL PROTECTED]
> >Web:    http://www.skadt.com
> >
> >________________________________________________________________________
> >TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
> >                 with unsubscribe witango-talk in the message body
>
>
> --
>
> Tom
>
> Voice:    416 760 0268
> Fax:      416 760 7263
> E-mail:   [EMAIL PROTECTED]
> Web Site: www.aboutcomputers.com
> ________________________________________________________________________
> TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
>                 with unsubscribe witango-talk in the message body
>

________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to