On Feb 2, 2006, at 11:48 AM, Phil M wrote:

Here is a very simple one:

  Function PowerTo(x As Integer, n As Integer) As Integer
    If (n <= 1) Then Return 1
    Return x * PowerTo(x, n - 1)
  End Function

So, by way of my described situation, what are X and N supposed to be? Besides integers?

Is X the number of levels? Or is N? And which is the data?

Regards,

Chuck
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to