title: Declaring variables in Delphi
body: <p>I'm new to <code>Delphi</code> and I'm learning how to declare variables and looping.</p>
  
  <p>If the var <code>Orden</code> values is 1 do something if its is 2 do something else. Here is what I'm trying but I don't know how to declare two values in "Orden"</p>
  
  <p>What I'm triying to do here is to create a calculator "IgualClick" is the "equal" button where I'm triying to read what the "orden" (Order) is, if is 1 = add or 2 = subtract Thanks</p>
  
  <p>Thanks..</p>
  
  <pre><code>procedure TForm1.IgualClick(Sender: TObject);
  var
    Orden : integer;
  begin
  
    Orden := (1)(2);
    B := StrToInt(Edit1.Text);
     Case orden of
       1 : Sumar;
       2 : Restar;
  
  end;
  </code></pre>