We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proc exportedHi = echo "hi" exportTo( moduleName, exportedHi ) const addins = implNimScriptModule(moduleName) var intr = loadScript( script = NimScriptPath "./main.nims", addins = addins )
# main.nims import "./helper.nims" hi()
# helper.nims proc hi = exportedHi() # <-- error: this proc is unavailable
I want to make a nimscript helper module but I can't use the exported procs I can use include instead but I want to avoid that.
include
Is there any way to achieve this? or do you know a better way to make a helper nimscript?
The text was updated successfully, but these errors were encountered:
https://github.com/beef331/nimscripter/blob/master/src/nimscripter.nim#L87-L90 Need a version that takes in a openarray[(string, VMAddins)] or similar and implements each per string.
openarray[(string, VMAddins)]
Sorry, something went wrong.
No branches or pull requests
I want to make a nimscript helper module but I can't use the exported procs
I can use
include
instead but I want to avoid that.Is there any way to achieve this?
or do you know a better way to make a helper nimscript?
The text was updated successfully, but these errors were encountered: