条件语句
一.
if 条件 then;
if 条件 then begin end;
二.case 语句用来在多个可能的情况下选择的条件,而不需要太多的if then else 语句
case 条件 of 1 :DoSomething; 2 :DoSomething; end
一.
if 条件 then;
if 条件 then begin end;
二.case 语句用来在多个可能的情况下选择的条件,而不需要太多的if then else 语句
case 条件 of 1 :DoSomething; 2 :DoSomething; end