4 Replies Latest reply on May 22, 2007 9:52 AM by Maü

    Function output parameter

    Maü
      Hi!

      I'm trying to get output parameters from a function, (not a return value). Does somebody know if this is posible? (an example is posted below)

      thanks in advance




      var x,y,z;

      x = "equis";

      ff(x,y);

      trace(y) // -> undefined; y is never asigned in ff

      function ff(x,y){
      y = x + " yy";
      }