Is it possible to call functions defined in other script files?
For example:
helperScript.dsa
function sayHello(){
print("hello world!");
}
testScript.dsa
import "helperScript.dsa"
sayHello();
I have attempted to use an import command with no success. It seems to be an unrecognized command, but the error message is fairly cryptic:
SyntaxError: Parse error
Stack Trace:
<anonymous>()@:1(I indeed know what a syntax error is, but it's unclear if the command is unrecognized or if i'm consuming a supported command with invalid syntax. A column number would help immensely with this sort of thing.)
I have pored through the examples, and I'm not seeing anything similar. I've also perused Qt documentation (which is what put me on the idea of the import command).
I appreciate the insight.