On Thu, 11 Jun 2009, Mindaugas Kavaliauskas wrote:

Hi,

>   DBCREATE("test170", {{"F", "T", 8, 0}},, .T., "test")
>   ? HB_VALTOEXP(DBSTRUCT())
> prints:
>   {{"F", "@", 8, 0}}

Yes it is.

> Is it intentional or bug?

It's intentional.

> What is the difference between T,8 and @,8 fields?

They are synonym of the same field type

> Which one is "more correct" to use?

Hard to say :-). Different languages uses different shortcut names.
AFAIR '@' comes from DBASE so maybe it's the more official one ;-)

Probably we should clean all synonyms but 1-st I will have to create
list of all supported fields by Harbour.

> P.S. if HB_FT_DAYTIME has exactly TIMESTAMP meaning, I suggest to rename to 
> HB_FT_TIMESTAMP, to have the same name for the same thing. Otherwise you 
> start to think about HB_FT_DAYTIME, HB_FT_DATETIME, HB_FT_TIMESTAMP?

OK, I'll change it. I introduced HB_FT_DAYTIME before we agreed how Harbour
will support TIMESTAMP values.

best regards,
Przemek
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to