--方式一
if exp1 then
begin
...
end;
elsif exp2 then
begin
...
end;
else
begin
...
end;
end if;
--方式二
if exp then
begin
...
end;
else
begin
...
end;
end if;
--方式三
if exp then
begin
...
end;
end if;
--方式一
if exp1 then
begin
...
end;
elsif exp2 then
begin
...
end;
else
begin
...
end;
end if;
--方式二
if exp then
begin
...
end;
else
begin
...
end;
end if;
--方式三
if exp then
begin
...
end;
end if;