RAD Studio
ContentsIndex
PreviousUpNext
E2383: Switch selection expression must be of integral type (C++)

The selection expression in parentheses in a switch statement must evaluate to an integral type (char, short, int, long, enum). 

You might be able to use an explicit cast to satisfy this requirement.

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!