j'ai une erreur de compil :D:\Dev\PlugIn\EcrDetSequences\DetSequences\EcrDetSeq.cs(235): Control cannot fall through from one case label ('case "":') to another
D:\Dev\PlugIn\EcrDetSequences\DetSequences\EcrDetSeq.cs(235): Control cannot fall through from one case label ('case "TRUE":') to another
string Value;
int Color;
Value="";
if (tmp !="") Value=ShowVar( tmp);
switch (Value) {
case "TRUE":
Color=65280;
case "":
Color=255;
default:
Color=0;
}
A voir également:
Control cannot fall through from one case label
Control cannot fall through from one case label to another - Meilleures réponses
Control cannot fall out of switch from final case label - Meilleures réponses