Asked
— Edited
It's been a while since I had time to work with my bots and when I recently updated my software lots of things broke!
For example commands with parenthesis no longer allow for a space... Eg. Speak_("Hello) is now Speak("Hello")
Now I can fix that easily enough... but what happened here:
$Volume=$Volume-25
if ($Volume=<5)
$Volume=5
endif
SpeakVolume($Volume)
I keep getting "Missing Binary operator in Line 1
So what has changed in the last 12 or more months?
PS. I'm running the latest build of EX-Builder.
Welcome back Tameion, Ihad the same problem with one of my old script.
Try $volume= ($volume)-(5)
JD could explaine why it is different.
A few releases ago DJ updated the script compiler and it is now a little more rigid in following .NET standards. Biggest impact is that improper placement of spaces now fail to compile.
Alan
is broken, unless @DJ's says otherwise.
I have updated the ARC and a few scripts are broken, but i don't know since when...
@tameion:
you have an error in your code (relational operator):
replace
with
probably before was not enforced, but the correct way is:
curiosity:
https://en.wikipedia.org/wiki/Relational_operator
it seems no one adopted the "=<" or "=>"
Update to the latest version: https://synthiam.com/Community/Questions/9274
*Note, the =< would have never worked and was never supported by ARC. The correct syntax as ptp pointed is <= or >=
Here is a copy from the EZ-Script manual which describes the comparibles:
Examples: