最后一行语句,如果continue后,应该跳到哪一行???为什么

是跳到“ Teme='''' 这一行?
while(!Terminated)
{
Temp="";
NTag="";
Idglobal::Sleep(300);
Idglobal::Sleep(50);
UpdateMainMessage(false,"等待...","系统提示:等待...");
Idglobal::Sleep(50);
RedGreen('\x01');
Weight=0;
Idglobal::Sleep(5);
Weight=ReadBala();
RealValue=Weight;
if(Weight<MinWei)
{
Idglobal::Sleep(500);
continue;
}
int I=0;
while(NTag.Length()!=8&&I<5)
{
NTag=ReadTag();
I++;
Idglobal::Sleep(20);
}
if(NTag.Length()!=8) continue;

心有法竹
浏览 504回答 1
1回答

慕侠2389804

是的,contiue语句跳转到所属循环的开头。而不是跳转到NTag=ReadTag();
打开App,查看更多内容
随时随地看视频慕课网APP