0 Replies Latest reply: Apr 3, 2008 5:03 PM by Nick Osdale-Popa RSS

    Recursive UDFs?

    Nick Osdale-Popa

      Can User Define Functions (UDFs) be recursive?

       

      Why can't I create a function as such:

      Defined Function Name: GCF()

      Parameter: A, Numeric

      Parameter: B, Numeric

       

      Formula:

      if(mod(a,b)=0,b,gcf(b,mod(a,b)))

       

      EDIT:

      Bummer -- It let me set it up, but when I tried test values, it did give me a warning about creating a recursive function.