Crowlang/crow

exit doesnt close program

Opened this issue · 0 comments

(defvar x 0)

(while true
  (println x)
  (set x (+ x 1))
  (if (> x 4)
      (exit 0)
  )
)

trying to get around break crashing and spitting out an error code i tried to use exit, but for some reason is spams the number 5