mkdir.myr 180 B

123456789101112131415
  1. use std
  2. use "dispatch"
  3. const mkdir = {params
  4. var path
  5. std.put("mkdir called\n")
  6. path=params[0]
  7. std.mkdir(path,644)
  8. }
  9. const __init__ = {
  10. dispatch.register("mkdir", mkdir)
  11. }