ForNext
Only Do What Only You Can Do
105. for
VBScript
JScript
Perl
PHP
Python
Ruby
PowerShell
Scala
for (i <- 1 to 10) println(i)
F#
OCaml
for i = 1 to 10 do let s = string_of_int i in print_string (s ^ "\n") done;;
Haskell
none
for (i <- 1 to 10) println(i)
for i = 1 to 10 do let s = string_of_int i in print_string (s ^ "\n") done;;
none