Just out of curiousity, what version are you using? Does it make any difference if you use <@NUMCOLS array='local$file'> and <@NUMROWS array='local$file'>?
 
Please let me know.
 
Thanks,

Steve Smith

Oakbridge Information Solutions
Office: (519) 624-4388
GTA:    (416) 606-3885
Fax:    (519) 624-3353
Cell:   (416) 606-3885
Email:  [EMAIL PROTECTED]
Web:   
http://www.oakbridge.ca
 
-----Original Message-----
From: Rick Sanders [mailto:[EMAIL PROTECTED]
Sent: February 24, 2003 12:15 PM
To: [EMAIL PROTECTED]
Subject: Witango-Talk: Weird Array troubles

Hi list,
 
OK, I've created an array using the <@TOKENSIZE> and re-assigning it to another array.
 
<@ASSIGN NAME="file" value='<@TOKENIZE VALUE="@@local$textfile" CHARS="<@CHAR CODE=13>">' scope=user>
 
Then, when I try <@NUMCOLS array=file> <@NUMROWS array=file> nothing comes up, not even 0?
 
If I do a @@user$file[1,1] then I get the first row value.
 
Even if I do a @@user$file[1,5] I will get the data from the fifth column.
 
My array has 1 row and 12 columns.
 
Any reason why <@NUMROWS> and <@NUMCOLS> doesn't work?
 
Thanks,

Rick Sanders, President
Tel: (201) 521-0396
Fax: (201) 521-0390
Email: [EMAIL PROTECTED]
Web: www.webenergy-sw.com
________________________________________________________________________
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