hi,

i have a 2 dim. array and i want to use it in a function but get everytime a error.

when i use the 2 dim array not in a function, its work but when i use it in a function, it dont work. why???

example with 2 dim array in function:

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

test()

Function test()
$test = $RegIntValArray[0][1]
MessageBox($test,"array test",0)
EndFunction

its give me a error.

example using 2 dim array without a function

$RegIntValArray[0] = "DA","00000406","DAN","Denmark"
$test = $RegIntValArray[0][1]
MessageBox($test,"array test",0)

its give me 00000406

who can help me?

many thanks in advance

expodium