Re: Size restriction on a variable?
Re: Size restriction on a variable?
- Subject: Re: Size restriction on a variable?
- From: John W Baxter <email@hidden>
- Date: Tue, 31 Jul 2001 22:20:27 -0700
At 23:12 -0500 7/30/01, Greg Strange wrote:
>
I know this has probably been covered at some point, but is there a size
>
limit on a variable? I mean can it be over 32K? If so, how big over 32K?
>
>
I have tried and I am getting errors but it may be due to the fact that I am
>
trying to manipulate a file.
The basic limit is memory. However, there are, for example, string
operations which have trouble with strings longer than 32K (bytes, I think
rather than characters). I've routinely passed 86K strings from
AppleScript to an app of mine where the string was manipulated and back to
AppleScript which determined whether the manipulation was right or not.
(In the latter part of that, I clearly wasn't running into the limit I
mentioned, since the manipulations...some quite far into the string, were
done correctly. It was also several AppleScript versions ago...around
1995.)
--John
--
John Baxter email@hidden Port Ludlow, WA, USA