Asked
— Edited
Can't seem to find an example of string variables being compared in EZ-Script
$A="Apple" $B="Apple" if ($A=$B) say ("They're the same")
if ($A$B) say ("They're not the same")
Am I looking at this the wrong way or what?
I would say what you use for not equal are the less-than and greater-than signs together. But, the rest looks good. It doesn't work for me either.
when i tried to put the symbols for not equal, the community forum board would not let me enter it into this post. confused
I guess we need videos for String variables and also emotions.
try $A==$B that's usually the syntax for comparison
and $A!=$B for not equal to
these may not have been added yet
Issue resolved with latest update.
And the informative Syntax statement that pops up when we get it wrong is very insightful!
Thanks DJ Sures.