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 (