Last active
September 27, 2015 13:07
-
-
Save afish/e7d4a158860ad9ab0e06 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
maxIterations = 100 // Assume that we iterate at most one hunder times | |
var iterations // non-negative integer | |
iterations.SetLessOrEqual(maxIterations) | |
var variables // variables which we use in loop | |
for counter in 1..maxIteratations do | |
var isLooping = counter.IsLessOrEqual(iterations) | |
for variable in variables do | |
variable = isLooping.Condition( | |
updateVariable(variable, counter), | |
variable) | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment