stack overflow avoidance?
stack overflow avoidance?
- Subject: stack overflow avoidance?
- From: Jeff Ganyard <email@hidden>
- Date: Sat, 11 Nov 2000 20:57:47 -0800
I'm have a looping routine that runs through text changing things...
it's pretty simplistic.
get offset of start string
get offset of end string
change text in between
concatenate "chars 1 thru first offset" and "changed text" and "chars
second offset to end of string"
It seems to work fine most of the time, if the_string is not "too
long" it works fine. However in some cases the_string is "too long"
and I get a stack overflow error. How do I avoid that error?
TIA
jeff