Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling a function from itself
Message
From
05/04/2006 09:20:47
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
05/04/2006 05:56:25
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01109601
Message ID:
01110563
Views:
21
>>Both points are correct. In some cases, however, it's very hard to write a non-recursive code. However, each recursive problem has non-recursive solution.
>
>Are you sure ?

According to the article in Wikipedia: "Any function that can be evaluated by a computer can be expressed in terms of recursive functions, without use of iteration, and conversely."

This seems to be the general belief; I am not sure whether it has actually been proven.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform