Ninext
HomeAboutPricingDocumentation
Sign inRequest access
Documentation
  • Welcome
    • Ninext documentation
    • Scripting tips & tricks
      • General Information
      • Var and Let
      • Functions
      • If Then else
      • For and while loops
      • select, where, from, to
      • Order By (or Order)
      • create, delete, and duplicate
      • JSON in Ninox
      • Arrays in Ninox
      • Undocumented functions in Ninox
      • Manipulating Record IDs in Ninox
      • Dynamic Choice & MultiChoice
Welcome›Scripting tips & tricks›

If Then else

The if statement can return two different values. It is important that these two values are of the same type; otherwise, the compiler will return an error:

if a > 10 then
    "important value";
else
    "low value";
end;
← FunctionsFor and while loops →
UManGenius — the plugin that extends Ninox
AboutLegal noticeTerms of salePrivacy policy
© 2026 UManGenius. All rights reserved.v0.1.0 · 20260911.1721