84ef3f9aed
The `#use` directive now supports referencing entire directories, automatically including all `.myc` files within them. Additionally, environments are now initialized with the current working directory as a default search path, simplifying module resolution.
13 lines
166 B
Plaintext
13 lines
166 B
Plaintext
#use rtl
|
|
|
|
(do
|
|
(def sma20 (SMA 20))
|
|
|
|
(def n 100)
|
|
(while (> n 0)
|
|
(do
|
|
(print "val=" n " sma20=" (sma20 n))
|
|
(assign n (- n 1))
|
|
))
|
|
)
|