Hi Bryan, I tested your files on Witango 5.0.0.058 on Windows XP Professional SP1 (IIS 5.1)
There is certainly some odd behavior here. It appears to be with the Parameter input fields for the Method when set to "Variable". Nothing is being passed through so the values in your <@CALC> inside the Method are adding up as zero "0". ------------- Note: I also got an "-800" Error if I had "myArray[@@request$cnt,1]" in the "Variable" field. Removing the "request$" part gets around the Error - but nothing is passed through. Hard-coding the row numbers does work though. ------------- If I change Parameter to "Value", then enter @@request$myArray[@@request$cnt,1] - the results come out as expected. I use "Value" most often with Methods (just because) and don't have any issues with it. Maybe the "Variable" option is only meant for a whole variable to passed through a Parameter? Such as the whole Array and not just a single cell, row or column? I took a quick look through the documentation, but couldn't find any reference to this. You should submit it officially to Witango and see what they say. Go to http://www.witango.com and click on "Support Centre" and "Bug Reporting". Hope this helps. Cheers...... Scott Cadillac, Witango.org - http://witango.org 403-281-6090 - [EMAIL PROTECTED] -- Information for the Witango Developer Community --------------------- XML-Extranet - http://xml-extra.net 403-281-6090 - [EMAIL PROTECTED] -- Well-formed Development (for hire) --------------------- > -----Original Message----- > From: Bryan Hughes [mailto:[EMAIL PROTECTED] > Sent: Thursday, June 05, 2003 10:56 PM > To: [EMAIL PROTECTED] > Subject: Witango-Talk: Passing in Method parameters > > > I'm trying to assign method parameters with the format as "variable" > and referencing a position in an array variable. > > When ever I do this in a for loop it looks like it starts the row > position at 0. I get all the column header names if my array that I'm > referencing comes from a database search. > > I've created a sample taf and class that recreates the problem. > > Am i doing something wrong in the call to the method or the for loop? > This may just be a bug. > > > ______________________________________________________________ > __________ > TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf > ________________________________________________________________________ TO UNSUBSCRIBE: Go to http://www.witango.com/maillist.taf
