if x

Read(1169) 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.

Parameter:

x

A Boolean expression

Example:

 

A

B

 

1

=6

 

16

2

if A1>5

 

if code block

3

 

>A1=A1+10

Related function:

if x …{ else { if x} }

if x … else

if x else