i've written a module test:

# module test

proc asd() =
   echo "hello"

in the same folder i have the module main:

import test


and i've got > Error: undeclared identifier: 'asd' is there any pragmas i should use or what?

2017-05-14 07:55:22

Tell it to export asd() by making it asd*()

# module test

proc asd*() =
   echo "hello"

2017-05-14 08:46:39
jlp765, dude, i love u, thx.
2017-05-14 09:18:46