On 7/29/02 8:51 PM, "Needham, Duane" <dneedham (AT) taylorpub DOT com> wrote:
Hi Needham,
> Would you provide a definitive answer on whether or not VStrings can contain > zeros, and exactly what is meant by "zero"? In other words, is there only a > problem with strings that contain the the null character ('\0'), or is there > a broader problem with using any zero (ascii code 48) in a string ("Grade > 012")?
Of course you can have in String chr(48) '0' i.e. you can have string: "I have 10 Macs"
But you CAN NOT have in Vstring class the chr(0), because in the C-language '\0' is used as mark of string end.
-- Best regards, Ruslan Zasukhin [ I feel the need...the need for speed ] ------------------------------------------------------------- e-mail: ruslan@paradigmasoft.com web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list send a letter to valentina-on (AT) lists DOT macserve.net ------------------------------------------------------------- ©2002 Ruslan Zasukhin |