JP1/NETM/DM Automatic Installation Toolガイド (Windows(R)用)
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;
}All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.