DELPHI参数传递解决办法

DELPHI参数传递已知3个参数A,B,C如何用IF判断条件成立时输出指定的参数?if 条件1真 thenbegin。。。。endelse

DELPHI参数传递
已知3个参数A,B,C如何用IF判断条件成立时输出指定的参数?




  if 条件1=真 then
  begin
    。。。。
  end
  else if 条件2=真 then
  begin
    。。。。
  end
  else if 条件真 then
  begin
    。。。。
  end;