PLI Logical Testing

来源:互联网 发布:开通淘宝网店需要1000 编辑:程序博客网 时间:2024/05/22 22:24

Logical Testing

1.       Logical operators

§         &

§         |

§         ¬

 

2.       IF  cond  THEN stmt;

3.       IF cond THEN

         stmt1;

       ELSE

stmt2;

3.  IF cond THEN

         DO

stmt1;

stmt2;

      END

       ELSE

DO

stmt3;

stmt4;

      END

4.  SELECT (optional expression here);

              WHEN(expression1) ACTION1;

              WHEN(expression2) ACTION2;

              WHEN(expression3) ACTION3;

              OTHERWISE ACTION4;

       END;

 

原创粉丝点击