JP1/NETM/DM Automatic Installation Toolガイド (Windows(R)用)
除算の2番目のオペランドは0です。
DEFINE
{
integer sloop_count = 0;
const integer sloop_max = 30;
}
MAIN
{
sloop_count = sloop_max / 0; // 除数が0であるため,エラーになります
}
DEFINE
{
integer sloop_count = 0;
const integer sloop_max = 30;
}
MAIN
{
sloop_count = sloop_max / 1; // 除数が0以外の値に変更しました
}All Rights Reserved. Copyright (C) 2013, 2015, Hitachi, Ltd.