- This wiki is out of date, use the continuation of this wiki instead
Subroutine
From FenixWiki
(Difference between revisions)
Revision as of 11:19, 13 April 2007 (edit) 86.136.63.228 (Talk) ← Previous diff |
Revision as of 01:01, 14 April 2007 (edit) (undo) Sandman (Talk | contribs) m (Capitalized "fenix") Next diff → |
||
Line 1: | Line 1: | ||
- | 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 [[ | + | 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 [[Fenix]] this is achieved by the use of [[functions]]. |
Revision as of 01:01, 14 April 2007
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 Fenix this is achieved by the use of functions.