 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Sep 10, 2009 2:10 am
[3.10]Bug: %arrset does not work |
Following the example listed for %arrset, %arrset doesn't seem to be working at all.
#VAR a %array(1,"test","hello")
#CALL %arrset(a,5,"new")
#VAR a
returns:
Quote: |
Variable: + a (Auto) <Array>|1|test|hello |
Obviously not correct, and is the reason why one of the scripts I'm trying to convert doesn't work properly.
Charneus |
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Thu Sep 10, 2009 7:51 pm |
This does appear to be a bug.
On your specific script, are you certain you want to use %arrset? This bug obviously does need to be addressed, but unless you are using COM calls you probably would be better served converting to stringlists instead of arrays, anyway. |
|
|
 |
charneus Wizard

Joined: 19 Jun 2005 Posts: 1876 Location: California
|
Posted: Thu Sep 10, 2009 10:20 pm |
For this particular script, %arrset seems to be the better route. I /could/ possibly put it into a stringlist, but then that means changing quite a few other things...
Charneus |
|
|
 |
Rahab Wizard
Joined: 22 Mar 2007 Posts: 2320
|
Posted: Fri Sep 11, 2009 6:22 pm |
Ah well, hopefully the bugfix can be quick.
|
|
|
 |
Zugg MASTER

Joined: 25 Sep 2000 Posts: 23379 Location: Colorado, USA
|
Posted: Mon Sep 14, 2009 5:16 pm |
Confirmed and added to bug list.
|
|
|
 |
|
|