Overview

if then else statement


Related Overviews

 

'if then else statement' can also refer to...

 

More Like This

Show all results sharing this subject:

  • Computing

GO

Show Summary Details

Quick Reference

The most basic conditional construct in a programming language, allowing selection between two alternatives, dependent on the truth or falsity of a given condition. Most languages also provide an if … then construct to allow conditional execution of a single statement or group of statements. Primitive languages, such as Basic in its original form, restrict the facility to a conditional transfer of control,

e.g. “IF A = 0 THEN 330” which is reminiscent of the conditional jump provided in the order code of every CPU. See also conditional.

“IF A = 0 THEN 330”

Subjects: Computing.


Reference entries

Users without a subscription are not able to see the full content. Please, subscribe or login to access all content.