problem with boolean
Author: spanish_uniface@hotmail.es (uniface8)
Hi all, in U8.2 when i compare a boolean variable with 0 if that variable have no value, uniface returns FALSE; e.g:
entry my_proc
variables
boolean vb_aux
endvariables
if (vb_aux=0)
;do one thing
else
;do another thing
endif
end;my_proc
In the same situation with uniface U9.4 the if clause returns TRUE:
I know that we have to give an initial value to all variables always, but its not my app, I´m doing the migration.
Someone knows a workaround? I mean, if I give an initial value to all variables works fine, but there´s a lots of frm,...
Regards, Rafa.




