Re: Error: Stack overflow
Re: Error: Stack overflow
- Subject: Re: Error: Stack overflow
- From: Shane Stanley <email@hidden>
- Date: Wed, 30 Apr 2003 10:03:37 +1000
On 30/4/03 8:43 AM +1000, John Delacour, email@hidden, wrote:
>
Well and good, but why use routines that are likely to cause problems
>
at all?
Who said they should? The point of the post was to make it clear that the
problem was nothing to do with the read command, but probably to do with the
editor's memory partition. And if that's low enough to cause problems with
52K reads, it's likely to cause other problems as well.
>
There's a perfectly good way of guaranteeing that you'll
>
_never_ hit memory problems when reading files, which I posted
>
earlier
I guess that depends on your definition of "perfectly good". If you mean
"works fine only on recent versions of the OS", then I'll allow the "good"
part.
And if the OP wants to do something like search for a multi-character
string, your code doesn't really help much there either.
>
and it's very bad practice in any programming or scripting
>
to write things that will cause memory problems.
And motherhood is a fine thing. See above.
--
Shane Stanley, email@hidden
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.