Thanks John & Stephan,

I get it someday.

Steve

-----Original Message-----
From: John McGowan [mailto:[EMAIL PROTECTED]]
Sent: Thursday, October 03, 2002 2:57 PM
To: Multiple recipients of list witango-talk
Subject: Re: Witango-Talk: Combining 2 arrays


Steve...

@@Local$Variable gets replaced by
<@VAR SCOPE=Local NAME=Variable>

So your "understanding" below is a bit off...
Your second example evaluates differently than what you were expecting,
however it performs exactly the way it should.

> @@Local$Variable --->  <@VAR SCOPE=Local NAME=Variable>

> <@VAR NAME="@@Local$Variable"> --->  <@VAR NAME="<@VAR SCOPE=Local
NAME=Variable>">

> <@VAR NAME="Variable" SCOPE="Local"> --->  <@VAR NAME="Variable"
SCOPE="Local">

/John



----- Original Message -----
From: "Fogelson, Steve" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Thursday, October 03, 2002 2:25 PM
Subject: RE: Witango-Talk: Combining 2 arrays


> Found my problem. Syntax problem.
>
> This didn't work:
> <@ADDROWS ARRAY="@@Local$Level2Categories" VALUE="@@resultSet">
> This did:
> <@ADDROWS ARRAY="Level2Categories" VALUE="@@resultSet" SCOPE="Local">
>
> Not complaining, but from a new users standpoint, a more consistent SCOPE
> syntax that would work throughout would be great.
>
> As I understand
>
> @@Local$Variable
> <@VAR NAME="@@Local$Variable">
> <@VAR NAME="Variable" SCOPE="Local">
>
> All work in different places, but not everyplace. Confusing.
>
> I get it someday.
>
> Steve
>
> -----Original Message-----
> From: Fogelson, Steve [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 1:26 PM
> To: Multiple recipients of list witango-talk
> Subject: RE: Witango-Talk: Combining 2 arrays
>
>
> Odd. I use the <@UNION> metatag and it combines the 2 arrays just fine.
Why
> would <@UNION> work and <@ADDROWS> give a "Parameter arrays must have the
> same number of columns." error?
>
> Problem is with the <@UNION> metatag, it sorts the array. The 2 arrays are
> presorted and I need the joined array to not change order.
>
> I'm stumped.
>
> Steve Fogelson
> Internet Commerce Solutions
>
> -----Original Message-----
> From: Fogelson, Steve [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, October 03, 2002 11:33 AM
> To: Multiple recipients of list witango-talk
> Subject: Witango-Talk:
>
>
> I don't understand this. I'm trying to add one array to another.
<@NUMCOLS>
> on both arrays indicates they have the same # of columns. Could it be some
> of the columns don't have a value?
>
> Any ideas?
>
> Steve Fogelson
> Internet Commerce Solutions
>
>
> TAF Code follows:
>
> # of resultSet Columns: <@NUMCOLS ARRAY="<@VAR NAME='resultSet'
> SCOPE='Local'>"><BR>
> # of Columns: <@NUMCOLS ARRAY="<@VAR NAME='Level2Categories'
> SCOPE='Local'>"><BR>
> <@ADDROWS ARRAY="<@VAR NAME='Level2Categories'
> SCOPE='Local'>" VALUE="<@VAR NAME='resultSet' SCOPE='Local'>"
POSITION="-1">
>
>
> Results when <@ADDROWS> is commented out:
>
> 63 62 Ammunition
>
> # of resultSet Columns: 10
> # of Columns: 10
>
> Results when <@ADDROWS> is not commented out:
>
> Error
> An error occurred while processing your request:
> File: catalog.tcf
> Position: SearchLevel2Categories
> Class: Internal
> Main Error Number: -615
> Parameter arrays must have the same number of columns.
> @ADDROWS
>
>
>
>
> ________________________________________________________________________
> 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
> ________________________________________________________________________
> 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
________________________________________________________________________
TO UNSUBSCRIBE: send a plain text/US ASCII email to [EMAIL PROTECTED]
                with unsubscribe witango-talk in the message body

Reply via email to