#79438 - 2003-01-15 09:11 PM
Bug or documentation inconsistency with ASCAN
|
Sealeopard
KiX Master
   
Registered: 2001-04-25
Posts: 11165
Loc: Boston, MA, USA
|
ASCAN seems to only work with one-dimensional array. However, this is not noted in the documentation. Additionally, ASCAN does not produce an error if fed a multi-dimensional array and returns an incorrect '-1' as result. Proof:
code:
$b[0,0]=1 $b[0,1]=2 $b[1,0]=3 $b[1,1]=4 ? $b[1,1] ? ascan($b,1)
If ASCAN does indeed not support n-D arrays, then it should create an error message.
_________________________
There are two types of vessels, submarines and targets.
|
|
Top
|
|
|
|
#79439 - 2003-04-04 04:29 PM
Re: Bug or documentation inconsistency with ASCAN
|
Paolo Gilardi
Fresh Scripter
Registered: 2002-11-18
Posts: 12
Loc: Italy - Milano
|
having the same issue. looked in several forums without find any hints on that. does anybody know about this possible bug ? thanks, paolo
|
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 484 anonymous users online.
|
|
|