代码大全

(singke) #1
else

18.3.3

Ada 18-14
18-14 :
A
B
C
D
A D begin A
end D 18 15 :
18-15
A
B
C
D
18-16 18-17 18-18 Pascal
18-16 if Pascal
If PixelColor = RedColor then begin
statement1 ;
statement2 ;
...
end;
18-17 While Pascal


while PixelColor = RedColor do begin
statement1 ;
statement2 ;
...
end;
18-18 case Pascal


case PixelColor of
RedCelor : begin
statement1;
statement2;
...
end


GreenColor : begin

Free download pdf