Sometimes the shortcuts don't work.  Try:

<@VAR NAME="<@VAR SCOPE='user' NAME='affiliate[1,2]'>" SCOPE="domain">
On Mar 12, 2008, at 11:26 PM, Wayne Irvine wrote:

I am looking to assing an array to a var. Easy enough:

<@ASSIGN NAME=VarName VALUE=@@local$resultset SCOPE=domain>

Trouble is, the VarName is also a variable:

<@ASSIGN NAME=@@user$affiliate VALUE=@@local$resultset SCOPE=domain>

This seems to work and calls @@user$affiliate show the array.

But if I want to access one element of the array:

<@VAR NAME=VarName[1,2] SCOPE=domain> Works

But

<@VAR NAME=@@user$affiliate[1,2] SCOPE=domain> Doesn't.

Where am I going wrong?

Wayne Irvine






                 Byte Services Pty Ltd
              http://www.byteserve.com.au/
                 [EMAIL PROTECTED]
  Ph 02 9960 6099   Mob 0409 960 609   Fax 02 9960 6088

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

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

Reply via email to