Hi Pritpal,

Sorry to jump it but I fail to see why should we rush a new proprietary type
into the core, while it has a
proper 3rd party solution.

There could be lots of other types introduced into
core by this reasoning.

Datetime's only "merit" seems that some proprietary
xbase dialects have already implemented it, plus xhb.
The xhb implementation (particularly the syntax) stinks
however, so if we decide to introduce it, it should be
done properly, and only if it really gives proper benefits
for the whole user base compared to the cost.

Instead of hard-wiring more core types for specific usages,
it'd seem much more useful to consider this item from
the TODO, which would smooth out the few remaining
drawbacks of current possibilities:

---
Detail...: Extended HB_IT_POINTER. In practice we can give them the
           same functionality as for objects and use them for fast
           creation objects at C level. We can also add HB_VALTYPE()
           function which will return the extended type name, f.e.
           "WINDOW", "FONT", "SOCKET" or anything what 3-rd party
           programmers may want to use. It will greatly simplify
           writing some libraries.
---

Brgds,
Viktor

On Tue, Feb 10, 2009 at 2:45 AM, Pritpal Bedi <bediprit...@hotmail.com>wrote:

>
> Hello Przemek
>
> Can we have Date type as DateTimeStamp?
>
> Francesco has sent me a solution to retrieve
> datetime value from an com object but it returns it
> as an object. This forces me to rewrite code
> employing active-x controls.
>
> This is the only feedback from my users
> whenever they use my extended utilities.
> Not a show stopper but certainly a cause of
> embrassment from my clients.
>
> Regards
> Pritpal Bedi
> --
> View this message in context:
> http://www.nabble.com/Date-Time-Functions---Revisited-%28II%29-tp21926105p21926105.html
> Sent from the Harbour - Dev mailing list archive at Nabble.com.
>
> _______________________________________________
> Harbour mailing list
> Harbour@harbour-project.org
> http://lists.harbour-project.org/mailman/listinfo/harbour
>
_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to