... arbitrarily saving only the the most recent 5k chars from the prior error info, we can just cut out the oldest info equal to the size of the new cErrorlog. This minimizes the loss of useful prior error info. So here it is again (to be inserted just above Memowrit() section)... LOCAL cText := ...