- This wiki is out of date, use the continuation of this wiki instead
Subroutine
From FenixWiki
(Difference between revisions)
Revision as of 11:02, 20 April 2007 (edit) Sandman (Talk | contribs) m ← Previous diff |
Current revision (14:17, 29 April 2007) (edit) (undo) Sandman (Talk | contribs) m |
||
Line 2: | Line 2: | ||
== Definition == | == Definition == | ||
- | A subroutine is a program segment that can be [[ | + | 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