lang: core: local: Add a new vardir function
This gives us a function to return a created vardir folder. It is not locally namespaced, and a future function will have to namespace one to each scope.
This commit is contained in:
6
examples/lang/vardir.mcl
Normal file
6
examples/lang/vardir.mcl
Normal file
@@ -0,0 +1,6 @@
|
||||
import "fmt"
|
||||
import "local"
|
||||
|
||||
print "debug" {
|
||||
msg => local.vardir("foo1/"),
|
||||
}
|
||||
Reference in New Issue
Block a user