its been a while since I have used Delphi and I feel silly for asking such a basic question but how the heck do you do a simple select case?
I have a function that returns a string and want to do something depening of the value:
Select myString Case
'A': do this
'B': do that
else: do something else