turbox Posted May 1, 2009 Share Posted May 1, 2009 (edited) I have this line of code: $NUMBERS[$cooords[$x][0]][$cooords[$x][1]] = GUICtrlRead($txt[$x + ($m-1)*9]) And when i run the program ( not when i do a syntax check ) is throwing me out an error: 'Expected a "=" operator in assignment statement.:' Can somebody help me? (i didn't declare the var earlier) Edited May 1, 2009 by vakis Link to comment Share on other sites More sharing options...
monoceres Posted May 1, 2009 Share Posted May 1, 2009 You need to post more code. Broken link? PM me and I'll send you the file! Link to comment Share on other sites More sharing options...
LurchMan Posted May 1, 2009 Share Posted May 1, 2009 I have this line of code: $NUMBERS[$cooords[$x][0]][$cooords[$x][1]] = GUICtrlRead($txt[$x + ($m-1)*9]) from that one line i can see that you dont have the 2 coord parms grouped together, look below for what i mean: $NUMBERS[$cooords[$x][0]] [$cooords[$x][1]] = GUICtrlRead($txt[$x + ($m-1)*9]) so in this space it would be expecting some sort of operator. Dating a girl is just like writing software. Everything's going to work just fine in the testing lab (dating), but as soon as you have contract with a customer (marriage), then your program (life) is going to be facing new situations you never expected. You'll be forced to patch the code (admit you're wrong) and then the code (wife) will just end up all bloated and unmaintainable in the end. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now