![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Programmer
Join Date: Feb 2005
Posts: 86
Rep Power: 0
![]() |
a function loop
i call this a function loop
if there is another name for it please tell me #a "function" loop
def hi():
print "hi"
hi()
hi() |
|
|
|
|
|
#2 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
A function that calls itself is called a recursive function.
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#3 | |
|
Programmer
Join Date: Feb 2005
Posts: 86
Rep Power: 0
![]() |
Quote:
|
|
|
|
|
|
|
#4 |
|
Programming Guru
![]() ![]() ![]() |
be careful and avoid "Infinite Recursion"...
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#5 |
|
Professional Programmer
Join Date: Feb 2005
Posts: 434
Rep Power: 4
![]() |
"Infinite Recursion" sounds like the title to a movie.
__________________
I looked it up on the Intergnats! |
|
|
|
|
|
#6 |
|
Programming Guru
![]() ![]() ![]() |
IR was a pain in the ass in my AI college assignments, years ago... caused me a lot of grief
![]()
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|