V4CC - 4.5b3 uploaded

Ruslan Zasukhin ruslan_zasukhin at valentina-db.com
Mon Jan 11 02:58:38 CST 2010


On 1/10/10 4:42 PM, "Ernesto Giannotta" <ernestogiannotta at tiscalinet.it>
wrote:

Hi Erne,

> I've downloaded the b3 and noticed you change the VString ctors to use the
> 'maxLength' parameter name:
> 
> -(id) initWithName:(NSString*)inName maxLength:(int)inLen flags:(int)inFlags
> method:(NSString*) inMethod;
> -(id) initWithName:(NSString*)inName maxLength:(int)inLen flags:(int)inFlags;
> -(id) initWithName:(NSString*)inName maxLength:(int)inLen;
> 
> Shouldn't it be 'length' more appropriate here and leave maxLength to VVarCahr
> ctors only?

MaxLength is nice choice for Vstring also.

Vstring(40) - this is max length you can keep here.
But you can store string 5 chars only also. Right?


-- 
Best regards,

Ruslan Zasukhin
VP Engineering and New Technology
Paradigma Software, Inc

Valentina - Joining Worlds of Information
http://www.paradigmasoft.com

[I feel the need: the need for speed]




More information about the Valentina mailing list