Re: Difference between..
From: Connor McDonald <connor_mcdonald_at_yahoo.com>
Date: Sun, 10 Oct 1999 14:05:29 +0800
Message-ID: <38002CA9.22E7_at_yahoo.com>
end if;
Date: Sun, 10 Oct 1999 14:05:29 +0800
Message-ID: <38002CA9.22E7_at_yahoo.com>
Roger Johnson wrote:
>
> What's the difference between:
> if, if-else
> and
> if-elsif-else
>
> Thanks,
> Roger
The number of levels that you "nest" - hopefully the indentation below helps explain this:
if .. then
else
if .. then
else
if .. then
else
end if;
end if;
end if;
versus
if .. then
elsif .. then elsif .. then elsif .. then
end if;
-- =========================================== Connor McDonald [Quoted] "These views mine, no-one elses etc etc" connor_mcdonald_at_yahoo.com "Some days you're the pigeon, and some days you're the statue."Received on Sun Oct 10 1999 - 08:05:29 CEST