[futurebasic] Re: [FB] [FB^3] String stack overflow error

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : September 1999 : Group Archive : Group : All Groups

From: Chris Stasny <staz@...>
Date: Fri, 17 Sep 1999 09:00:28 -0500
>> <<We can take steps to see that this does not happen (unless it is due to a
>> previous error in the code.) If you would like to make the change yourself
>> for testing purposes, open the file named "Subs Compiler.Incl". There is a
>> constant def like this...
>>
>>
>> _FBStrStkSize = 2048
>>
>> Change it to
>>
>> _FBStrStkSize = 16384
>>
>>>>
>>
>>
>> Anders
>>
>
>Shouldn't this be a user pref?
>
>Does this refer to the maximum number of strings in a _"STR#" resource?
>or to the maximum number of strings in a string$ array (DIM
>myStrings$(2049)) within a local FN?
>
>

No it's unrelated. It refers to the maximum bytes that can be pushed onto a
temporary stack as complex strings are created. In the future, this number
will be set to 16384 so that you do not have to be concerned with it.



Best,

-STAZ  ~)~

800.348.2623 Orders  http://www.stazsoftware.com
228.255.7086 FAX     mailto:staz@...