JanetDocsPlaygroundI'm feeling luckyGitHub sign in

for



    macro
    boot.janet on line 508, column 1

    (for i start stop & body)

    Do a C-style for-loop for side effects. Returns nil.


1 exampleSign in to add an example
Loading...
(for i 0 5 
     (print i))
 
# 0
# 1
# 2
# 3
# 4

# => nil
leobmPlayground