Petr Schreiber
31-08-2008, 23:33
Hi,
following code does not work:
USES "Console", "STAT"
dim ArrA(3) as long = 1, 2, 3
dim ArrB(3) as long
' -- None of both works
stat_cloneArray(ArrA, ArrB)
'stat_copyArray(ArrA, ArrB)
printl join$(ArrA, ",")
printl join$(ArrB, ",")
waitkey
It works only with Robertos fix from here (http://community.thinbasic.com/index.php?topic=1913.msg14189#msg14189).
Maybe it was left out in 1.7.0.0 by accident?
Thanks,
Petr
following code does not work:
USES "Console", "STAT"
dim ArrA(3) as long = 1, 2, 3
dim ArrB(3) as long
' -- None of both works
stat_cloneArray(ArrA, ArrB)
'stat_copyArray(ArrA, ArrB)
printl join$(ArrA, ",")
printl join$(ArrB, ",")
waitkey
It works only with Robertos fix from here (http://community.thinbasic.com/index.php?topic=1913.msg14189#msg14189).
Maybe it was left out in 1.7.0.0 by accident?
Thanks,
Petr