Search This Blog

Saturday, July 20, 2013

How to use CASE Statements in Behavior Modeling Style.





CASE  Statements (Behavior Modeling Style) -



Syntax -


CASE        (identifier)       IS
when       ch1     =>     statements;
when       ch2     =>     statements;
when       ch3     =>     statements;
...
...
...
when      others     =>     statements;
END    CASE ;




Sample Programs -




No comments:

Post a Comment