While Loops =========== ```Example from 1 languages: JavaScript let times = 10 while (times) {times--} console.log("done") ``` ```Example from 1 languages: Lua while true do print("hello") end ``` ```Example from 1 languages: Chapel while do ``` ```Example from 1 languages: C3 while (int x = foo(); x > 0) { sum += x; } ``` ```Example from 1 languages: Lil while 1 print["hello"] end ``` ```Example from 1 languages: Toit while condition: ``` ```Example from 1 languages: Cyber while fiber.status() != #done: res = coresume fiber count += 1 ``` ```Example from 1 languages: Jule for my_condition { // ... } ``` ```Example from 1 languages: Speedie while true "hello" ``` * Languages *with* While Loops include JavaScript, C, Python, Java, Perl, Ruby, PHP, C#, R, PowerShell, Bash, Rust, Swift, Scala, Lua, Kotlin, CoffeeScript, Objective-C, Julia, Dart, Solidity, Pascal, Ada, Crystal, Reason, Chapel, Groovy, OCaml, F#, VHDL, C3, ABAP, Verilog, Lil, SystemVerilog, Toit, AutoIt, Dylan, X10, Maxima, Cyber, Jule, Angelscript, Apex, fp, JS++, Speedie, Q#, hecl, nimrod * Languages *without* While Loops include progsbase, Veryl, HOPE, SAKO * View all concepts with or missing a *hasWhileLoops* measurement http://pldb.info/../lists/explorer.html#columns=rank~id~appeared~tags~creators~hasWhileLoops&searchBuilder=%7B%22criteria%22%3A%5B%7B%22condition%22%3A%22null%22%2C%22data%22%3A%22hasWhileLoops%22%2C%22origData%22%3A%22hasWhileLoops%22%2C%22type%22%3A%22num%22%2C%22value%22%3A%5B%5D%7D%5D%2C%22logic%22%3A%22AND%22%7D missing http://pldb.info/../lists/explorer.html#columns=rank~id~appeared~tags~creators~hasWhileLoops&searchBuilder=%7B%22criteria%22%3A%5B%7B%22condition%22%3A%22!null%22%2C%22data%22%3A%22hasWhileLoops%22%2C%22origData%22%3A%22hasWhileLoops%22%2C%22type%22%3A%22num%22%2C%22value%22%3A%5B%5D%7D%5D%2C%22logic%22%3A%22AND%22%7D with * Read more about While Loops on the web: 1. https://en.wikipedia.org/wiki/While_loop 1. Built with Scroll v178.2.3