Subroutine

From Bennu Wiki
Revision as of 01:24, 23 November 2009 by Sandman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


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