You are viewing an old version of this page. View the current version.
Compare with Current View Page History
Version 1 Next »
SIL supports the standard operators (+, -, *, /, %), however, those operators can be used on more than just numbers.
if(1 == 1 && 2 == 2) { return true; }
if(animal == "Cat" || animal == "Dog") { return "Pet"; }
if(!direction == "Up") { return "Down" }
Contents
For more information about using arithmetic operators see this page.