title: In Progress-4GL how do I set an object to accept different numbers of inputs?
body: <p>using openedge 10.2.b
  ItemObj.cls</p>
  
  <pre><code>CLASS mystuff.ItemObj :
    METHOD PUBLIC CHARACTER GetItemDesc
    ( INPUT pcOne AS CHARACTER,
    INPUT pcTwo AS CHARACTER,
    INPUT piThree   AS INTEGER ) :
  
      RETURN pcOne pcTwo pcThree.
  
  END METHOD.
  </code></pre>
  
  <p>ItemObj.p</p>
  
  <pre><code>USING mystuff.*.
  DEFINE VARIABLE rItemObj AS CLASS mystuff.ItemObj NO-UNDO.
  rItemObj = NEW mystuff.ItemObj( ).
  MESSAGE "One : " rItemObj:GetItemDesc (1)       SKIP(1)
          "Two : " rItemObj:GetItemDesc (1, 2)    SKIP(1)
          "Three : " rItemObj:GetItemDesc (1, 2, 3) VIEW-AS ALERT-BOX INFO.
  DELETE OBJECT rItemObj.
  </code></pre>
  
  <p>I want the output of all these statements to be the same so that if a user enters only 1 input the other two default to 2 and 3 and the same if the user enter 1 and 2, three is defaulted to 3. </p>
  
  <p>How do I do this without getting a mismatch parameters error?</p>