Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

[Problem] Identify error - (Expected a "=" operator in assignment statement)

$
0
0
Hi.

I was exploring some functions and examples of Autoit, trying to learn so autodidact. But I got lost in an error whose description is simple, but I can not understand:


<path>\<file>.au3 (6) : ==> Expected a "=" operator in assignment statement.:
$Array[0][0]="Upper-Left"
$Array^ ERROR

As you can see, I declared a variable in line "6":

<part of the code Line 1 = Line 6>
[ autoit ]      
$Array[0][0]="Upper-Left" ;Retired from example in help file #Region ### Declaração de Variaveis ### #Region ### String de Botôes ### $bt[1][1]="" $bt[1][2]="" $bt[1][3]="" $bt[2][1]="" $bt[2][2]="" $bt[2][3]="" $bt[3][1]="" $bt[3][2]="" $bt[3][3]=""

As an apprentice, was trying to develop a simple script of Tic Tac Toe game, but my biggest surprise was that I had not even reached the the most complex part of code.
.
The error occurs in the declaration of a two-dimensional array. Something I always I thought was simple.

My layman's vision prevents me from seeing where I went wrong. Would a more experienced member can tell me which path to follow to remedy this error.


PS.: This script has a GUI designed with KODA.
PS.: This text was written in English using Google Translate

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>