umangenius-logo
U Man Genius docs
/
...
/
If Then else
umangenius-logo
U Man Genius docs
Pages
Welcome
ninext-loupe
Ninext documentation
ninox-logo
Ninext APP
Fichiers
Installation
Update history
Update history temporary
Uninstall
Popup ninext
Fields and Functions
Fields and Functions
Debug tracer
🚧 Errors
Finder
🚧 Edit field
Copy, paste, duplicate & delete
HTML helping functions
Untitled page
Native JS
Clipboard sample
Temporaire
Badges
View field event
Button event
Améliorations
ninox-logo
Scripting tips & tricks
General Information
Var and Let
Functions
icon picker
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

icon picker
If Then else

Jacques TUR
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;

Want to print your doc?
This is not the way.
Try clicking the ⋯ next to your doc name or using a keyboard shortcut (
CtrlP
) instead.