On Tuesday, May 28, 2002, at 01:10 AM, Ruslan Zasukhin wrote:
> on 5/27/02 23:37, Charles Yeomans at yeomans At desuetude D.OT com wrote: > >> I think that the prohibition on using Chr(0) has been discussed on the >> list before. But I agree that you should be allowed to use Chr(0) in >> the data of a VText field, if only because otherwise it's possible that > > No, Charles. > > ZERO MUST NOT present in TEXT. > > Because TEXT field also do indexing. > And any other TEXT functions, e.g. In BaseObject methods. > > BTW, I am not sure that methods will not work right now with such bad > TEXT. > >> GetDataSize would return a different value when a VText object is cast >> as VBlob -- and this is surely a bad thing. > >
With a bit more reflection, I agree -- no Chr(0) in VText fields.
Charles Yeomans ©2002 Charles Yeomans |