📜  for loop ocaml - 任何代码示例

📅  最后修改于: 2022-03-11 14:56:32.053000             🧑  作者: Mango

代码示例1
for i = 0 to 10 do
    (* CODE *)
done

for i = 10 downto 0 do
    (* CODE *)
done