user84199
0
Q:

delphi if statement

// Illustrate the same, but with multiple actions
  IF 1 = 1 then
  begin
    ShowMessage('We now have');
    ShowMessage('multiple lines');
  end;
0
//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');
0

New to Communities?

Join the community