[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: recursive functions?



Nando Iavarone (f.iavarone@acsys.it) writes:
> 
> I don't remember well, but 5.3 would have a mechanism in compiling to
> avoid this.
> Is it true?

   Forward_Function RecFun

As the first line in RecFun will do it. I have to
warn you, however, that with this line your test program
will run forever! You might want to give this some thought. :-)

Cheers,

David
-- 
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155