>Hi everybody,
>
>Valid method can return either logical or numerical. How can I test
>
>if dodefault()
>
>Thanks in advance.
>
>I don't like
>
>if inlist( transform(dodefaut(),'.f.','0')) && failure
I can do it
#define lFailure iif(vartype(m.luReturn)="N", m.luReturn = 0, not m.luReturn)
but I don't like it either...
Is there a third option?
If it's not broken, fix it until it is.
My Blog