Answers for "delphi if statement"

0

if staements in delphi

// Illustrate the same, but with multiple actions
  IF 1 = 1 then
  begin
    ShowMessage('We now have');
    ShowMessage('multiple lines');
  end;
Posted by: Guest on August-04-2020
0

if then else in delphi

j := 50;
 if j >= 0 then
   if j = 100 then Caption := 'Number is 100!'else
   Caption := 'Number is NEGATIVE!';v
Posted by: Guest on April-21-2020
-1

delphi if statement

//x is a boolean or a condition that is true
if x = true then
begin
ShowMessage('x is true');
end
Else If y = 'Picca' Then//y is a string that you can check with an edit
ShowMessage('hello '+y)
Else
ShowMessage('last option');
Posted by: Guest on April-16-2020

Browse Popular Code Answers by Language