[V4RB] more questions

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jan 29 20:21:13 CST 2003


on 1/29/03 6:56 PM, Pedro fp at lists at pedro.net.au wrote:

Hi Pedro,

> A few more questions that I haven't been able to find answered in the
> docs ...
> 
> When getting the value from a VString where the actual value in the
> field is shorter than MaxLength is the value returned padded to
> MaxLength? i.e. Does a does a VString of MaxLength 10 & containing
> "Hello" return "Hello" or "Hello     "?

It is not padded. Just "Hello"

> When using a VByte for 1 byte strings, as suggested in the docs, is it
> necessary to convert between strings & integers when setting & getting
> values?

Probably yes.

> Can the MaxLength of VString &/or VVarChar fields be changed at runtime?

Yes, you can change practically any parameter in Valentina at runtime.
But you need understand, that if you change length of field for table with
many records, this will take time.

> Is the page size of VVarChar fields always a multiple of 1024 bytes?

Internally ? Yes.

But this not affect you in fact.

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list