This commit is contained in:
Sanchime 2022-02-18 21:23:07 +08:00
parent 574abdefce
commit d68697b576
1 changed files with 25 additions and 0 deletions

View File

@ -0,0 +1,25 @@
module Loop
//
// ,
// F#,,for,while
// for
// i010,
for i = 0 to 10 do
printfn "%d" i
// i100,
for i = 10 downto 0 do
printfn "%d" i
// 1..10110
// 1..10,
for i in 1 .. 10 do
printfn "%d" i
// while
let a = 0
// 当a < 10,
while a < 10 do
printfn "%d" a