[Date Prev][Date Next][Thread Prev][Thread Next]
[Author Index]
[Date Index]
[Thread Index]
[SQR-USERS Info]
[SQRUG Home Page]
Re: Recursive function in SQRW
Hello,
I have used recursive procedure in SQRW which works like in any other
language. The only problem I found is that when the recursive procedure
is called within the procedure again and again for more than a certain
number of times the program abends with a general protection failure. In
other words somewhere the memory gets corrupt. So I could not use it
successfully calling for more than 300 times.
Thanks.
Gopal
TCS INC
(210) 491 0046
At 01:31 PM 10/5/98 -0500, you wrote:
>> Have any one of you ever
>> implement recursive procedure in SQRW ?
>> Or is it possible to do recursive in SQRW?
>> (the global variable of SQRW made recursive
>> hard to implement)
>
>Yes, it is possible, but it's definitely a pain.
>
>Go to http://www.sqrug.com/~sqrusers/search/ and search for the word
>"factorial" for a response to this question posted a few months ago,
>complete with a sample program. (Searching for "recursive" will also give
>you the answer, but not quite so quickly.)
>
>
> Nathan
>
>----------------------------------------------------------------------------
>Nathan Treadway | Ray Ontko & Co. | Software consulting services
>nathant@ontko.com | Richmond, IN | http://www.ontko.com/
>