case内で識別子は使用できません。
DEFINE
{
const string FileVersion = "7.1";
string stMsgText;
}
MAIN
{
switch (FileVersion)
case stMsgText: // caseに識別子が指定されています
...
break;
default:
...
break;
endswitch;
}
DEFINE
{
const string FileVersion = "7.1";
string stMsgText;
}
MAIN
{
switch (FileVersion)
case "7.1": // 識別子の代わりに文字列定数を指定しました
...
break;
default:
...
break;
endswitch;
}