News
In the following example, all statements between ELSE and the end of the statement are carried out if not true. The following C/C++ example produces the same results as the BASIC example.
IF-THEN/ELSE Statements. To perform an operation conditionally, use an IF statement to test an expression. Alternative actions appear in a THEN clause and, ... The following is an example of nested IF ...
The ELSE statement optionally follows the IF statement and gives an action to be taken when the IF expression is false. ... for example, if max(a)<20 then p=0; else p=1; The IF statement results in ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results