D'oh!

Thank you Gauthier, I had forgotten about that feature.

After assigning a value to the zero '0' column - it's becomes an excellent
way to report back the row number of a record in an array when using
something like <@FILTER>.

Thank you. Cheers...

Scott Cadillac
http://xml-extra.net
[EMAIL PROTECTED]

VP, Research and Development
Plus International Corp.
604-460-1843
[EMAIL PROTECTED]
http://www.plusinternational.com

Vancouver, BC, Canada

Does your company have an Enterprise Information Portal? Check out Salsa at
www.plusinternational.com/flash/salsa.htm

----- Original Message -----
From: "[Gauthier]" <[EMAIL PROTECTED]>
To: "Multiple recipients of list witango-talk" <[EMAIL PROTECTED]>
Sent: Thursday, June 06, 2002 9:33 AM
Subject: Re: Witango-Talk: naming column/line of array


Hi,

About this topic, Witango allow you to name each column or line in your
array variable.
The way is to name to your column/line names is simply available via putting
name in column or line 0

<@ASSIGN Local$MyArray[1,0] 'line1'>
<@ASSIGN Local$MyArray[0,1] 'column1'>
so you can use this notation to obtain the equivalent of <@VAR
Local$MyArray[1,1]> like this:
<@VAR Local$MyArray[line1,column1]>

Hope that my exemple is understandable ;)

Is there any performance issue when using extensively the named notation?

Gauthier
  ----- Original Message -----
  From: Henning Sittler
  To: Multiple recipients of list witango-talk
  Sent: Thursday, June 06, 2002 5:56 PM
  Subject: Witango-Talk:


  How can I create an array and name it's columns (and rows for that
matter)?  I don't see this in the tango help or snippets, but I do see that
you can reference columns by name in an array, and I have done so before.  I
just don't know how to create one.

  Specifically, I want to name the columns of my array by the columns names
of the results columns returned from a search action.

  Thanks,



  Henning Sittler
  www.inscriber.com


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

Reply via email to