if x

Read(475) Label: statement, execute,

Description:

The introduction of if statement.

Syntax:

if x

Note:

The statement executes the if code block if x is true and skip if code block if x is false.

Parameters:

x

A boolean expression. If the value is true, then execute if code block. Otherwise, skip it.

Example:

 

A

B

 

1

=6

 

16

2

if A1>5

 

if code block

3

 

>A1=A1+10

Related functions:

if x …{ else { if x} }

if x … else

if x else