Site menu

CodeCook.io

  • Languages
    • C
    • C++
    • CSS
    • Git
    • HTML
    • Java
    • JavaScript
    • jQuery
    • PHP
    • Python
    • Ruby
    • Scala
  • loop
  • until

Scala - Loop until condition is true

Executes code until a given condition is valid.

0
781
  • Share on Facebook
  • Share on Google+
  • Share on Twitter
while (!({{condition}})) {
    {{body}}
}
java

Notes

last update: Dec. 4, 2014

Advertisement

This project is hosted on DigitalOcean, try it and support us

Related concept

  • For each loop
  • Do loop while a condition is true
  • Loop while condition is true
  • Break out of loop
  • Counter loop

Other language

  • Python
  • PHP
  • Ruby

Random task

  • Django get domain current request
  • Django check object exists
  • Block comment
  • Set maximum number of relations in ManyToManyField in Django form
  • Create new repository
  • Blog
  • About
  • License