PLDB
Languages Features Creators Calendar CSV Resources Blog About Donate Add Language
GitHub icon

While Loops

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

Languages with While Loops include Java, JavaScript, C, Python, C++, PHP, Perl, C#, Ruby, R, Scala, Swift, Ada, Rust, Kotlin, PowerShell, Pascal, Lua, TypeScript, Bash, Objective-C, Julia, Dart, Verilog, Solidity, Reason, Crystal, CoffeeScript, F#, OCaml, Groovy, VHDL, Chapel, ABAP, Dylan, AutoIt, X10, SystemVerilog, Cython, C3, Maxima, Jule, Angelscript, Pizza, Apex, Cyber, Q#, JS++, nimrod, fp, hecl, Deesel, Tick C, cooC, Real-Time Concurrent C, ADLIB, Static Typescript, Extended Pascal

Languages without While Loops include HOPE, progsbase

Read more about While Loops on the web: 1.

HTML of this page generated by Features.ts

hasVoidFunctions.html 路 hasWhileLoops.html 路 hasZeroBasedNumbering.html

View source

PLDB - Build the next great programming language Search v2023 Day 157 Docs Acknowledgements Traffic Today Traffic Trends Mirrors GitHub feedback@pldb.com