Subj : Silly question To : Sean Dennis From : Roelof Beverdam Date : Sun May 01 2005 10:45 am Hi Sean, > getting an "Error 39: Ordinal expression expected" for this line of code: > > Case UTemp Of (UTemp is a string) > > Is there something that I forgot about the Case statement? :> A string is not an ordinal value, it is a structured value. Depending on the contents of the string, you might consider Case UTemp[1] Of or rewrite your code to calculate some numeric value from your string and use that value in the Case ... Of. Only modern compilers (like Delphi) accept strings for case selectors. Cheers, Roelof Beverdam --- Dutchie V3.10.11 * Origin: The Beaver's Nest (2:280/5218) .