← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #253449]: Can any calculation be done using sikuli and coparision of two numeric values?

 

Question #253449 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/253449

    Status: Open => Answered

Eugene S proposed the following answer:
Hi,

Sikuli is sitting on top of Jython (unless you're using the Java jars)
which means that you can fully utilize the language. So if you want to
compare numeric values just use Jython/Python syntax:

if var1  == var2:
    print "Yes"

Any one of those variables may be a result of another calculation.
Hope I understood your question correctly.


Cheers,
Eugene

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.