- 01
- 02
- 03
- 04
- 05
- 06
- 07
- 08
- 09
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
var
one, two, free, four:string;
begin
one:=sLabel14.Caption+slabel14.caption;
two:=sLabel1.Caption+slabel15.caption;
free:=sLabel10.Caption+slabel16.caption;
four:=sLabel7.Caption+slabel17.caption;
if ((one = two) or (one = free) or (one = four)
or (two = one) or (two = free) or (two = four)
or (free = one) or (free = two) or (free = four)
or (four = one) or (four = two) or (four = free))
then begin
showmessage('Значения должны быть различными');
end
else begin
showmessage('Успешно сохранено');
end;