📜  delphi if 语句 - Delphi 代码示例

📅  最后修改于: 2022-03-11 14:54:56.458000             🧑  作者: Mango

代码示例1
//x is a boolean or a condition that is true
if x = true then
begin
ShowMessage('x is true');
end
Else If y = 'Picca' Then//y is a string that you can check with an edit
ShowMessage('hello '+y)
Else
ShowMessage('last option');