Top 1,000 Features Creators Resources Blog Explorer Download
GitHub icon

While Loops

< >
Example from 1 languages: JavaScript
let times = 10 while (times) {times--} console.log("done")
Example from 1 languages: Speedie
while true "hello"
Example from 1 languages: C3
while (int x = foo(); x > 0) { sum += x; }
Example from 1 languages: Jule
for my_condition { // ... }
Example from 1 languages: Cyber
while fiber.status() != #done: res = coresume fiber count += 1
*

Languages with While Loops include C, JavaScript, Java, Python, PHP, R, Ruby, Perl, C#, Swift, Scala, Kotlin, Rust, Lua, PowerShell, Solidity, Bash, Julia, CoffeeScript, Dart, Objective-C, Ada, Crystal, Reason, Chapel, Pascal, Groovy, F#, VHDL, OCaml, ABAP, Speedie, C3, Verilog, Jule, Q#, AutoIt, Dylan, X10, SystemVerilog, Apex, JS++, Maxima, Angelscript, nimrod, hecl, Cyber, fp

*

Languages without While Loops include progsbase, HOPE

*

View all concepts with or missing a hasWhileLoops measurement

*

Read more about While Loops on the web: 1.

View source

- Build the next great programming language About Acknowledgements Extensions Day 630 Donate feedback@pldb.io