Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,15 @@
|
|||
procedure Check(Condition1: Boolean; Condition2: Boolean)
|
||||
begin
|
||||
if Condition1 = True then
|
||||
begin
|
||||
if Condition2 = True then
|
||||
BothConditionsAreTrue
|
||||
else
|
||||
FirstConditionIsTrue;
|
||||
end
|
||||
else
|
||||
if Condition2 = True then
|
||||
SecondConditionIsTrue
|
||||
else
|
||||
NoConditionIsTrue;
|
||||
end;
|
||||
|
|
@ -0,0 +1,10 @@
|
|||
procedure Check(Condition1: Boolean; Condition2: Boolean)
|
||||
begin
|
||||
if (Condition1 = True) and (Condition2 = True) then
|
||||
BothConditionsAreTrue
|
||||
else if Condition1 = True then
|
||||
FirstConditionIsTrue
|
||||
else if Condition2 = True then
|
||||
SecondConditionIsTrue
|
||||
else NoConditionIsTrue;
|
||||
end;
|
||||
Loading…
Add table
Add a link
Reference in a new issue