Forum Discussion

matrixebiz's avatar
matrixebiz
Roku Guru
9 years ago

Brightscript Sub and Function Routine

Hello, just wondering the difference between a Sub routine and a Function routine.

Are Sub routines always ran in the code automatically and a Function routine needs to be called upon within the code?

Or do you always have to call upon them both within the code script for them to run? Thx

18 Replies