Free Pascal Program Tutorial 6 - Case Statement - Lazarus

Опубликовано: 13 Май 2012
на канале: SchoolFreeware
87,853
547

http://www.schoolfreeware.com

Case statements are similar to If statements. The difference is that the case statement can make the code simpler to read and work with. In some computer languages and computer systems, the case statements run faster than the If statements.  


Creating a case statement is simple to do. This program will prompt the user to select the key A-D and the program will respond by telling the user what key was entered.