Saturday, 20 July 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 -




0 comments :

Post a Comment

 
Design by Wordpress Theme | Bloggerized by Free Blogger Templates | coupon codes