- This wiki is out of date, use the continuation of this wiki instead
Subroutine
From FenixWiki
(Difference between revisions)
| Revision as of 01:01, 14 April 2007 (edit) Sandman (Talk | contribs) m (Capitalized "fenix") ← Previous diff |
Current revision (14:17, 29 April 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
| (One intermediate revision not shown.) | |||
| Line 1: | Line 1: | ||
| - | A subroutine is a program segment that can be | + | [[Category:general]] |
| + | |||
| + | == Definition == | ||
| + | A subroutine is a program segment that can be [[call]]ed 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 [[function]]s and [[process]]es | ||
Current revision
[edit] 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 Fenix this is achieved by the use of functions and processes
