Flow of essential 2.5

xiaoxiao2021-03-06  19

1. Condition branch:

It can be used to implement in two ways of ... EL ... ENC.

VAR

I: integer;

Begin

IF I> 0 THEN

Dosth

Else I <0 THEN

Dosth

Else

Dosth

END;

-------------------------------------------------

Note: When using IF, the ELSE (including the else IF) keyword cannot be included before; "

-------------------------------------------------- -

Case mode:

VAR

I: integer;

Begin

Case I of

1:

Dosth

2, 3:

Dosth

4..10: {if

Dosth

END;

转载请注明原文地址:https://www.9cbs.com/read-44653.html

New Post(0)