Infinitely looping animations...

Michael Heacock cerebus@islandnet.com
Sat, 21 Jun 1997 18:01:10 -0700


Nick Kallen wrote:
> 
> Hi..
> 
> I've written a program that I want to animate infinitely. The only way
> I
> can concieve of doing this is an infinite recursion. Obviously, this
> is not
> a good thing, as requiring the user to kill the app using
> <ctrl><alt><del>
> (in win95 atleast) is not cool.
>  Any suggestions?
> 
> -Nick

You would also run out of resources...most likely a stack error,
since each recursive call would store yet another set of
parameters and return addresses onto the stack...

-- 
Michael Heacock         "Hail hail the lucky ones,
Praxis Technical Group   I refer to those in love"
Nanaimo BC Canada                -- Eddie Vedder