kisuke
5 years agoBinge Watcher
import a brightscript into another brightscript
Is it possible to import a brightscript into another brightscript?
Following the example of https://npm.io/package/roku-log I created a MyFile.brs inside the source folder and tried to import it into another .brs file using:
import "pkg:/source/MyFile.brs"
gives the error: "Syntax error. (compilation error & h02)".
Can you help?