使用goto数据可以使程序跳转到指定位置进行处理。关于标记的创建---标签名:,使用实例如下
-(void)test{
int i=0;
i++;
start:
if(i>0){
goto statrt;
}
}
该程序实现无限循环
使用goto数据可以使程序跳转到指定位置进行处理。关于标记的创建---标签名:,使用实例如下
-(void)test{
int i=0;
i++;
start:
if(i>0){
goto statrt;
}
}
该程序实现无限循环