Difference between revisions of "Statement"
esse quam videri
Kspriggs01 (talk | contribs) (→Definition) |
Kspriggs01 (talk | contribs) (→Definition) |
||
Line 1: | Line 1: | ||
=Definition= | =Definition= | ||
− | A statement is similar to command, where it is used to dictate the logical flow of an application by stating what should be done when. All applications contain many different statements in order for it to fulfill the purpose it was built for. | + | A statement is similar to '''command''', where it is used to dictate the logical flow of an application by stating what should be done when. All applications contain many different statements in order for it to fulfill the purpose it was built for. |
All statements are also reserved as '''keywords''' within their respective languages. | All statements are also reserved as '''keywords''' within their respective languages. |
Revision as of 18:20, 16 April 2020
Definition
A statement is similar to command, where it is used to dictate the logical flow of an application by stating what should be done when. All applications contain many different statements in order for it to fulfill the purpose it was built for.
All statements are also reserved as keywords within their respective languages.
Examples
If/Else Statement:
For Statement:
Switch Statement
While Statement
Return Statement:
Resources
See also
- Keyword