Actually it is more total missarray. You did not assign the array to a variable so the reference to it was actually an empty variable.
@ARRAY takes the following parameters and returns an array structure which then needs to be assigned to a variable.
<@ARRAY [VALUE=textValue] [ROWS=rows] [COLS=cols] [CDELIM=columnDelimString] [RDELIM=rowDelimString]>
Try this:
<@ASSIGN request$NewString "1,2,3;4,5,6;7,8,9;">
<@ASSIGN 'request$UpdateArray' '<@ARRAY VALUE="<@VAR request$NewString>" CDELIM="," RDELIM=";">'>
NewString displays the<@VAR "request$NewString"><br>
UpdateArray displays as <@VAR "request$UpdateArray"><br>
NUMROWS: <@NUMROWS ARRAY="request$UpdateArray">
Witango Support
On 17/05/2004, at 6:36 PM, Wayne Irvine wrote:
And put me out of my misery!
<@ARRAY NAME=UpdateArray VALUE=<@VAR local$NewString> CDELIM='[COL]' RDELIM='[ROW]' SCOPE=local>
<@VAR local$UpdateArray><br> <- displays the
NUMROWS: <@NUMROWS ARRAY=UpdateArray><BR>
I'm trying to use the number of rows in the array but can't seem to work out
the syntax. I'm aware this is elementary, but I'm prepared to admit I am
pre-school.
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
