SetMethod

Ruslan Zasukhin sunshine at public.kherson.ua
Thu Jun 17 00:04:40 CDT 2004


On 6/16/04 11:33 PM, "jda" <jda at his.com> wrote:

> After many hours I've finally gotten my project compile! Of course, it
> crashes.

After just few hours :-)

> The last line gives a nilObject exception:
> 
>  authors = CreateTextField("authors", 128, "English")
>  authorsMethod = CreateTextField("authorsMethod", 128, "English",
> kV_IndexByWords)
>  authorsMethod.SetMethod("Upper(authors)")

This is wrong code!

To create method you should send Method text on create.

  authorsMethod = CreateTextField(
        "authorsMethod", 128, "English", kV_IndexByWords, "Upper(authors)" )


> Jon
> 
> P.S. What "language" should we use for Unicode?

-- 
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://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina-beta mailing list