Difference between revisions of "Subroutine"
Jump to navigation
Jump to search
(No difference)
|
Latest revision as of 01:24, 23 November 2009
Definition
A subroutine is a program segment that can be called and used by any other bit of the program. So basically, if there's something that you want to to quite a lot in your program, then you can write a subroutine for it and then just call this subroutine every time you want to to that. In Bennu this is achieved by the use of functions and processes