hello there,
after upgrading from FW2002 32bit to FW2512 64bit I had a strange behavior using isNil():
before the upgrade:
if !isNil(oFld := oEdit:GetFld("SmtpPass"))
oFld:lPwd := .t. // here <oFld> was the object I espected
endif
after the upgrade I get this error on assigning oFld:lPwd:
Descrizione dell'errore: Error BASE/1005 Variabile non disponibile: LPWD
Args:
[ 1] = L .F. <oFld> becames a logical value!!
[ 2] = L .T.
So I had to modify in Fivewin.ch:
#xtranslate IsNil( <var> ) => (<var> == nil )
to:
#xtranslate IsNil( <var> ) => ((<var>) == nil ) //parenthesis added
and now it works again
regards