Before the switch(), add: choice = toupper(choice); And if you haven’t already got it, #include <ctype .
Read moreCan you use case with string?
The Delphi Case Statement only supports ordinal types. So you cannot use strings directly .
Read moreBefore the switch(), add: choice = toupper(choice); And if you haven’t already got it, #include <ctype .
Read moreThe Delphi Case Statement only supports ordinal types. So you cannot use strings directly .
Read more