On Tue, Jul 28, 2009 at 7:22 PM, Francesco Saverio
Giudice<i...@fsgiudice.com> wrote:

> I suppose that Giancarlo uses NIL as return string in case of error to use
> function without checking nResult. An empty string forces to check always
> nResult.

I prefer Viktor's 2nd option: returns "" and set the error.
NIL says nothing about the error so it's always necessary to look
elsewhere to manage it, while a string with NIL means always checking
before use it.

best regards,
Lorenzo
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to