It's kind of less trouble to just use functions for everything, especially as it frequently turns out you need to return a value, saves quite a bit of retyping in the long run.
If there is some reason to use subs in some circumstances, I don't know what it is.
FYI, you can actually use:
function main()
end function
instead of
sub main()
end sub
which could also be useful in some (rare) situations.
- Joel
Screenshades: The first Screensaver for Roku2!
Musiclouds: The best free internet music, on your Roku!
Ouroborialis: Psychedelic Screensaver for Roku!