News

The ELSE statement optionally follows the IF statement and gives an action to be taken when the IF expression is false. The expression to be evaluated is often a comparison, for example, if max(a)<20 ...
Don't use "elsif" or "else" with an unless statement. The condition of an if, elsif or unless tag should be either a normal Liquid expression or a comparison using Liquid expressions. Note that the ...
SALONI: Now let's see how we can use an 'if/else' statement with our buddy Scrat. On-screen graphic shows a programming block in Blockly with three segments labelled 'if path ahead', 'do', and 'else'.
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, optionally, an ELSE statement. The general ...