V4CC - 4.5b3 uploaded
Erne
ernestogiannotta at tiscalinet.it
Tue Jan 12 04:02:02 CST 2010
Il giorno 11/gen/10, alle ore 09:58, Ruslan Zasukhin ha scritto:
> 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?
>
Well, 40 is the fixed 'length' eaten in storage for VString
while would be the eventual 'maxLength' claimed by VVarchar
ball on your side... :-)
Cool Runnings,
Erne.
---
Ernesto Giannotta
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Arti-Sonanti-Very-Small.png
Type: image/png
Size: 11210 bytes
Desc: not available
Url : http://lists.macserve.net/pipermail/valentina/attachments/20100112/bbd6305c/attachment.png
-------------- next part --------------
arti sonanti - media musicali
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
email info at artisonanti.191.it
tel. 095 3523711
tel./fax 095 7150150
More information about the Valentina
mailing list