我在源文件夹(BrightScript项目)中有两个文件,文件a.brs和文件b.brs
.brs文件中有一个功能
function aa()
print "Hello World!"
end function
我想从b.brs调用它
aa()
发生错误
Function Call Operator ( ) attempted on non-function. (runtime error &he0)
我不明白这个问题。有人可以帮助我吗?
试试看Function aa() as Void
,它可能缺少函数声明中的类型。
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句