Hey Webdude,
I totally understand what you need. I've done this before.
Here's the taf with the code on how to do it.
Also, follow this link to see the results:
www.webenergy-sw.com/arraytest.taf
Rick Sanders
Vice President of I.T.
Webenergy-Icantec
Kitchener - Waterloo:(519) 741-2117
Montreal:
Very good Rick.
I had ended up with something similar, but your way is much slicker.
I was actually messing with the <@CALC> tag for the naming. It got
ugly.
Thanks!
WebDude
Hey Webdude,
I totally understand what you need. I've done this before.
Here's the taf with the code on how to do it.
Als
Am I missing something here? wouldn't these 6 lines of tml solve the
problem?
<@assign scope="Local" name="spacedIndex" value="0">
<@rows scope="local" array="originalarray">
<@ifempty <@col num=1>><@else>
<@assign scope="Local" name="spaced<@nextval scope='Local'
name='spacedIndex'>" value=<@
-0788
www.webenergy-sw.com
www.icantec.ca
- Original Message -
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 7:46 AM
Subject: Re: Witango-Talk: ARRAY?? SOLUTION!!!
> Very good Rick.
>
> I had ended up with something similar, but your wa
: "John McGowan" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 28, 2004 9:18 AM
Subject: Re: Witango-Talk: ARRAY?? SOLUTION!!!
> Am I missing something here? wouldn't these 6 lines of tml solve the
> problem?
>
> <@assign scope=
Rick Sanders wrote:
Hey John,
The only small thing you're missing, is removing the empty space from the
array before assigning the variables.
I didn't know he needed to mutate the original array... I would just
toss an <@addrows> in there at the same place spacedX is assigned...
/John
warrayname" VALUE="<@VAR arrayname[<@CURROW>,*]">
<@ASSIGN arrayname <@VAR newarrayname>>
Hope this helps.
-Original Message-
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: Tuesday, July 27, 2004 3:22 PM
To: [EMAIL PROTECTED]
Subject: