Mail Archives: djgpp/1999/03/03/16:26:00
On Wed, 03 Mar 1999 20:58:05 GMT, marg AT okstate DOT edu (Carl Marg) wrote:
>On Wed, 03 Mar 1999 14:42:28 -0400, Endlisnis <s257m AT unb DOT ca> wrote:
>
>> Well, there are a few [possible] problems. First of all, you may be
>>running out of stack space depending on what resolution you are using. If
>>your area is 1000x1000 then you could get more than 2000 levels of recursion.
>>And with 5 4-byte integers plus some stack overhead for each call you have way
>>more than 40k on the stack. I don't know what the default size of a stack is
>>in DJGPP, but it can be changed.
>> Also, this function would crash if it was run outside of a completely
>>closed figure because it never checks to see if it is off of the screen.
>
>my last trial was in a closed figure - 300x300 area
>it only does a small part of the fill before it crashes.
>Then it will do anything from gpf to hard lock to rebooting my
>computer.
on the other hand, I think it must be the stack, I tried it for a very
small figure, and it worked all right
Now I just need to figure out how to change the stack size...
- Raw text -