Arc Forumnew | comments | leaders | submitlogin
1 point by almkglor 5870 days ago | link | parent

  (= f (table))
  (= k 1)

  (= (f k) (+ k 1))
More:

  (def set-the-table (k)
    (= (tb k) (+ k 1)))

  (= tb (table))
-------

file1.arc:

  ; throwaway file I'm playing around with

  ; define some temporary function
  (= (foo x)
     (+ x 1))
file2.arc:

  ; throwaway file I'm playing around with
  (= foo (table))
  (for i 0 3
    (= (foo i) i))
What I do on the command line:

  (load "file2.arc")
  (load "file1.arc")