[futurebasic] Re: [FB] FBtoC Limits?

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2008 : Group Archive : Group : All Groups

From: Robert Purves <listrp@...>
Date: Tue, 6 May 2008 20:41:10 +1200
Brian Stevens wrote:
>> I'll build a demo on Monday to test whether there is some arbitrary  
>> numerical limit on the number edit fields.
> Let me clarify:   I don't really believe there is a numerical limit.  
> A string stack or some other method possibly failing after x number  
> of repetitions is more likely.

In build_goodies/EditFields.c, the function FBEditField() needs an  
extra line inserted as shown to reset the string stack:

	case kEFPascalType:
		gFBStk--; // rp:20080506
		string = CFStringCreateWithPascalString( NULL, txtPtr,  
kCFStringEncodingMacRoman );

This is fixed for the next release (1.0.9).

Robert P.