Free Pascal Lazarus Program Tutorial 6 - Case Statements


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.

Code Download
FPProgT6.zip