Re: [Harbour] date comparison

2010-05-19 Thread Leandro Damasio - 2D Info
? "t1==t2",t1==t2 // shows .F. ? "t1==date()",t1==date() // shows .T. ? "t2==date()",t2==date() // shows .F. return Shouldn't the comparisons above all return .T.? No, it's correct behavior. Think about SET CENTURY. If you want reversible conversion independent from any setting,

[Harbour] date comparison

2010-05-19 Thread Leandro Damasio - 2D Info
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(

Re: [Harbour] Error in SDDFB

2010-03-22 Thread Leandro Damasio - 2D Info
So for me it's hard to understand why to reinvent it, if we already have it by the name "RDD". If we want to go beyond this and implement the whole "ORM" buzzword, it's a whole separate project, not just some extra lines of code in sqlmix. ORM is defined as Object Relational Mapping at wikipedi