[V4RB2] FindStartsWith crashes app
Kem Tekinay
ktekinay at mactechnologies.com
Sat Apr 2 21:27:45 CST 2005
On 4/2/05 4:18 PM, Ruslan Zasukhin at sunshine at public.kherson.ua wrote:
> So you mean that crash if PARAMETER of FindStartsWith() is null ?
No. If FindStartsWith does not find any matches, it returns nil.
For example, if my data has "123" and "1234" in it, and I use
fld.FindStartsWith("123"), I get a good VSet. But fld.FindStartsWith("567")
returns nil.
If I use fld.FindContains("888"), I properly get an empty VSet.
The crash occurs is I try a Union with nil. For example, where bs is a valid
VSet, bs.Union(nil) will crash.
__________________________________________________________________________
Kem Tekinay (212) 201-1465
MacTechnologies Consulting Fax (914) 242-7294
545 Eighth Avenue, Suite 401 Pager (917) 491-5546
New York, New York 10018 http://www.mactechnologies.com
To join the MacTechnologies Consulting mailing list, send an e-mail to:
mactechnologies_consulting-subscribe at yahoogroups.com
More information about the Valentina
mailing list