With the simple script...
- Code: Select all
Dim $ARR[3]
Dim $tempstr = ""
$ARR[1] = 47
$tempstr = $ARR[1]
MsgBox(0,"Box","$ARR[1] = " & $ARR[1])
I get an error like...
- Code: Select all
Line 232 (File "C:\Program Files (x86)\AutoIt3\Examples\Debug\ArrayTest.Debug Script.au3"):
_AU3COM_SendData_SendVariable($VariableName & "[" & $iDimXIndex & "]" & "|" &
AutoIt_Debugger_ReturnVariableValue($VariableName & "[" & $iDimXIndex & "]" & "|" & ^ ERROR
Error: Incorrect number of parameters in function call.
I've tried it with DIM $ARR[3] = [ 0, 0, 0] as well with no joy. Also with Global instead of DIM
