Why won't Delphi 2009 let me Include a Char in a set?
问题 Here is another question about convert old code to D2009 and Unicode. I'm certain that there is simple but i don't see the solution... CharacterSet is a set of Char and s[i] should also be a Char. But the compiler still think there is a conflict between AnsiChar and Char. The code: TSetOfChar = Set of Char; procedure aFunc; var CharacterSet: TSetOfChar; s: String; j: Integer; CaseSensitive: Boolean; begin // Other code that assign a string to s // Set CaseSensitive to a value CharacterSet :=