Path: utzoo!attcan!uunet!mailrus!uflorida!mephisto!prism!ce1zzes From: ce1zzes@prism.gatech.EDU (Eric Sheppard) Newsgroups: comp.lang.pascal Subject: CASE for Strings? (MS-Dos TP) Message-ID: <8001@hydra.gatech.EDU> Date: 13 Apr 90 20:33:15 GMT Reply-To: ce1zzes@prism.gatech.EDU (Eric Sheppard) Organization: Georgia Institute of Technology Lines: 17 I wish to perform functions according to commands parsed into a string array. The CASE operator only works for simple variable types. Is there an elegant way to perform the CASE for complex (string) variables? Desired sample construct: case Command of '1STCOM' : FirstCommand; '2NDCOM' : SecondCommand; . . end; Eric, tinkerer-at-large -- Eric Sheppard Georgia Tech | "Of course the US Constitution isn't Atlanta, GA | perfect; but it's a lot better than what ARPA: ce1zzes@prism.gatech.edu | we have now." uucp: ...!{allegra,amd,hplabs,seismo,ut-ngp}!gatech!prism!ce1zzes