MCSN-project2014 / APproject

Project for the MCSN Advanced Programming Module A.Y. 2014/2015
http://mcsn-project2014.github.io/APproject/
MIT License
4 stars 0 forks source link

for into while #41

Closed teto1992 closed 9 years ago

teto1992 commented 9 years ago
for  var i int = 4; i > 0; i = i - 1

must be translated into an F# equivalent while loop:

let _i[indexPar] = ref(0)
while !i > 0 do
    /** do something **/
    i = !i - 1;
teto1992 commented 9 years ago

for has been removed.