I don't get $= test(). Or $= MessageBox. Why the $=?

And wouldn't it be better to write a function that stands totally on its own? Like one that takes an array as an argument? That way you don't need globals?

Code:

Break On

;Global $RegIntValArray[0]

$RegIntValArray[0] = "DA","00000406","DAN","Denmark"

$= test($RegIntValArray)

Function test($twoDArray)

$test = $twoDArray[0][1]

$= MessageBox($test,"array test",0)

EndFunction


I would say, as well, to use a variable for [0] and [1] pointers. Just to keep it general.


Edited by solostyle (2004-07-27 02:42 PM)
_________________________
kickin it solo