1. if … endif / if … else … endif / if … elseif … else … endif

  2. for … endfor

  3. while … endwhile

  4. repeat … until(循环体至少被执行一次,直到满足条件时退出。等同于C语言的do…while语句)

此外,也有关键字 break、continue、return、exit、stop 用来控制语句的执行;

stop:终止后面的循环,点击Step Over or Run button继续。

exit:终止Hdevelop程序段。

相关文章:

  • 2021-11-20
  • 2021-09-29
  • 2021-11-24
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-01
猜你喜欢
  • 2021-07-01
  • 2021-05-09
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案