Hello
Please look at the code below (harbour 2.1.0 rev 13756).

<.code>
procedure main()
local t1:=date()
local t2:=ctod(dtoc(date()))

? "t1",t1                        // current date
? "t2",t2                        // current date

? "t1=t2",t1=t2              // shows .F.
? "t1=date()",t1=date() // shows .T.
? "t2=date()",t2=date() // shows .F.

? "t1==t2",t1==t2              // shows .F.
? "t1==date()",t1==date() // shows .T.
? "t2==date()",t2==date() // shows .F.

return
</code>

Shouldn't the comparisons above all return .T.?

Regards,
Leandro



_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to