Difference between revisions of "Subroutine"
Jump to navigation
Jump to search
(Created page with 'A subroutine is subprogram in a computer, often called up to execute by a higher level program. It consists of instructions that perform a specific set of tasks for a main ro...') |
|||
Line 1: | Line 1: | ||
− | A subroutine is subprogram in a [[computer]], often | + | A [[subroutine]] is subprogram in a [[computer]], often used to help execute a higher level program. |
− | [[category:engineering]][[category:starship Systems]][[category:computers]] | + | It consists of instructions to perform a specific set of tasks for a main routine. |
+ | |||
+ | |||
+ | Though they function similarly, the difference between a "function" and a "subroutine" depends on the complexity of the task needed. | ||
+ | * Many different subroutines can make up one function, which if done perfectly, look like one seamless movement. | ||
+ | |||
+ | |||
+ | |||
+ | ''Fun fact: Subroutines often account for the sentient qualities of [[Artificial intelligence]]. <br>Sometimes, subroutines in sentient computer beings are compared to the subconscious in [[humanoid]] lifeforms. '' | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | [[category:engineering]] | ||
+ | [[category:starship Systems]] | ||
+ | [[category:computers]] |
Latest revision as of 21:03, 14 April 2024
A subroutine is subprogram in a computer, often used to help execute a higher level program.
It consists of instructions to perform a specific set of tasks for a main routine.
Though they function similarly, the difference between a "function" and a "subroutine" depends on the complexity of the task needed.
- Many different subroutines can make up one function, which if done perfectly, look like one seamless movement.
Fun fact: Subroutines often account for the sentient qualities of Artificial intelligence.
Sometimes, subroutines in sentient computer beings are compared to the subconscious in humanoid lifeforms.