If Then else
L'istruzione if può restituire due valori diversi. È importante che questi due valori siano dello stesso tipo, altrimenti il compilatore restituirà un errore:
if a > 10 then
"important value";
else
"low value";
end;
L'istruzione if può restituire due valori diversi. È importante che questi due valori siano dello stesso tipo, altrimenti il compilatore restituirà un errore:
if a > 10 then
"important value";
else
"low value";
end;