Auto It error shows while trying to open the project

Asked By 10 points N/A Posted on -
qa-featured

Hello there,

This is the error that I can’t get rid of it. I did some searches on the Internet and nothing useful and helpful was found. I don’t know what to do next and if can this have a solution. Any expert can help me please to fix this error ?

Thank you !

AutoIt Error

Line 23 (File “C:Documents and SettingNathanDesktopmmmmmm.au3”):

ConsoleWrite [:Address = “$Value [0] & @CRLF & ‘Value = “& $Value[1] [email protected]]

ConsoleWrite [:Address = “$Value ERROR

Error: Subscript used with non-Array variable.

SHARE
Answered By 0 points N/A #179771

Auto It error shows while trying to open the project

qa-featured

You have to check the function whether it is succeeded or not. Then check the return type is an array type or not.

You also need to check the elements, because elements should be fit into the array boundaries. 

You have to use 

  • ISArray() 
  • UBound() function

In this way you can fix the problem.

Login/Register to Answer

Related Questions