Jump to content
Sign in to follow this  
Kapz

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

Recommended Posts

Kapz

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:

Send("^c")

$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
Xenobiologist

Hi,

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

So long,

Mega


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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.