The limitation on the name of a var is 31 characters for Tango 2K according to the documentation. I don't know if that includes the array syntax or not. My impression is that it would only be the name of the var itself. I don't know if this limitation has been expanded for WiTango.

Mike



Ben Johansen wrote:
Hey, I learned something new today, I thought you needed the @@ in front to extract the value J See test below.



I don’t think there is a limitation on name size, at least I haven’t run into it yet



---Taf---

v_ecommerce[1,Emrgcy Contact Name] =

<@VAR NAME="v_ecommerce[1,Emrgcy Contact Name]" SCOPE="request">

<hr>

@VARNAMES<br>

<@ASSIGN NAME="myvarnames" VALUE="<@VARNAMES SCOPE='request'>">

<@VAR NAME="myvarnames">

<hr>



<TABLE BORDER=0>

<TR>

<@FOR STOP=<@NUMCOLS ARRAY="v_ecommerce">>

<TH>@@v_ecommerce[0, <@CURROW>]</TH>

</@FOR>

</TR>

<@ROWS ARRAY="v_ecommerce">

<TR>

<@COLS>

<TD>

<@COL>

</TD>

</@COLS>

</TR>

</@ROWS>

</TABLE>







----OutPut--------

v_ecommerce[1,Emrgcy Contact Name] = Elisa Marquez

------------------------------------------------------------------------

@VARNAMES

v_ecommerce

variableTimeout

------------------------------------------------------------------------

*Emrgcy Contact Name*

Elisa Marquez

Elisa Marquez

Elisa Marquez

Rosemary Lopez

Javier Melendez

Soledad/Rafael Armendariz

Manuela Romo

Mary Sierra

Ignacio Chavira

Ignacio Chavira





Ben Johansen - http://www.pcforge.com

Authorized Witango Reseller http://www.pcforge.com/WitangoGoodies.htm

Authorized MDaemon Mail Server Reseller

http://www.pcforge.com/AltN.htm





-----Original Message-----
From: ServerSmiths Tango Development [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 25, 2003 11:29 AM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: <@VAR name length issues 3.6 to 5.0







I 'm tweaking an eCommerce .TAF in 3.6 to get it ready to port to 5.0

and I'm ready to implement the ability to have column names for my

array columns. Right now I have vars like



<@VAR NAME="v_ecommerce[1,22]" SCOPE="domain"> but with the labels

inserted from row zero I will have



<@VAR NAME="v_ecommerce[1,commercial_sales_site]" SCOPE="domain">



and I'm wondering if I might end up tripping myself up somewhere if the

entire "v_ecommerce[1,commercial_sales_site]" counts as the name of the

var and not just the name of the array with the column name not

counting. In other words is it



"v_ecommerce" the name of the var?



or



"v_ecommerce[1,commercial_sales_site]" the name of the var?



I'm trying to be sure to stay away from the 31 character limit.



Is the limit longer or shorter or the same in 5.0.x?



Thanks for any info.



Michael Heth

Web Information Architect





__________________S E R V E R S M I T H S__________________



http://www.serversmiths.com/



Technology Infrastructure Provider



I N T E R N E T P R E S E N C E S O L U T I O N S



| EWordSmith | LightningSite | Enigma.Engine |



________M A R I N C O U N T Y C A L I F O R N I A________



________________________________________________________________________

TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf


-- Mike Tyranski Lynch2 p: 847.608.6900 f: 847.608.9501 http://www.lynch2.com

________________________________________________________________________
TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf

Reply via email to