Sign in to follow this  
Followers 0

Expected A "=" Operator Error Message....but Only Sometimes?

2 posts in this topic

I keep receiving an error message from Scite saying the following:

...DTI.au3 (685) : ==> Expected a "=" operator in assignment statement.:

referring to this line: $ROI[1] = StringStripWS(StringRight(StringLeft($title,15),2),8)

I pulled it from the middle of my code below:


$temp = ClipGet()

$ROI[1]= StringStripWS(StringRight(StringLeft($title,15),2),8)

$ROI[2] = StringStripWS(StringRight(StringLeft($temp,12),2),8)

$values = StringSplit($temp,"=")

$ROI[5] = StringStripWS(StringLeft($values[3],8),8)

$ROI[6] = StringStripWS(StringLeft($values[4],8),8)

$ROI[7] = StringStripWS(StringLeft($values[8],11),8)

I run the program and it works fine until it gets to running these statements on the third iteration of the GUI loop only, then I get the expected a "=" error message. I don't understand why it works fine until I run the loop for a third time.

Any ideas?

Share this post

Link to post
Share on other sites


may post the complete script with the loop statement, otherwise it is very difficult to help, I guess.

So long,


Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
Followers 0