go top

while loop
美 [waɪl luːp]

  • 循环:在编程语言中,While循环是一种控制流程的陈述。利用一个返回结果为布尔值(Boolean)的表达式作为循环条件,当这个表达式的返回值为“真”(true)时,则反复执行循环内的代码;若表达式的返回值为“假”(false),则结束执行循环内的代码,继续执行循环下面的代码。

网络释义专业释义英英释义

  循环结构

这个过程采用条件循环结构 (While Loop),当程序运行出现错误或使循环控制变为False时,程序结束数据采集,存 储数据,释放缓冲区。

基于68个网页-相关网页

  流程控制范例

...$a流程控制范例(while loop)  计算1+2+3+5+6+…+100  Ex.

基于8个网页-相关网页

短语

while-loop 循环

while-loop structure 先判定型循环结构

do-while loop 循环

LOOPNE LOOP while Not Equal 在不相等时循环

LOOP WHILE FOR 循环

loop while 循环

 更多收起网络短语
  • 当型循环
    状况循环

·2,447,543篇论文数据,部分数据来源于NoteExpress

While loop

  • abstract: In most computer programming languages, a while loop is a control flow statement that allows code to be executed repeatedly based on a given boolean condition. The while loop can be thought of as a repeating if statement.

以上来源于: WordNet

双语例句原声例句权威例句

  • First, is the while loop.

    首先是 while 循环。

    youdao

  • The key part of that is that WHILE loop.

    关键的部分是这个while循环。

    youdao

  • Listing 7. Pseudocode for the while loop.

    清单7 . while循环的伪代码。

    youdao

更多双语例句
  • The difference with the do while loop, as the syntax kind of suggests, is that this construct is going to do something no matter what.

    作为建议的语法,do,while循环的不同之处,是这个结构不管怎么样,它会做一些事情。

    哈佛公开课 - 计算机科学课程节选

  • At the end of the day, you can implement the exact same program using a while loop that you can using a for loop, it's just your code is going to look slightly different.

    最终,你可以执行这个程序,再使用for循环的地方使用while循环,这只是使你的代码看起来稍微有点不同。

    哈佛公开课 - 计算机科学课程节选

  • Ah ha, it goes into that accept portion, prints out a message, and goes back around the while loop to say try again. And it's going to keep doing this until I give it something that does serve as a float.

    他会说输入一个浮点数,啊哈,它就到了那段处理代码,打印出消息,然后回到while循环让我们再输一次,它会持续这么做直到它接受到一个浮点数。

    麻省理工公开课 - 计算机科学及编程导论课程节选

更多权威例句
$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定