[Harbour] SF.net SVN: harbour-project:[11606] trunk/harbour

Mindaugas Kavaliauskas dbtopas at dbtopas.lt
Thu Jul 2 05:41:09 EDT 2009


> 2009-07-02 11:05 UTC+0200 Viktor Szakats (harbour.01 syenar.hu)
>   * include/hbdefs.h
>     + Added new hbBool type.

Hi,


just on type name convention... If we have HB_ULONG, perhaps it should 
be HB_BOOL. Though, HB_ULONG has a different meaning than native ULONG.


HB_INT, HB_BOOL, HB_ULONG,...
HBINT, HBBOOL, HBULONG,...
hbInt, hbBool, hbUlong,...

Both uppercase conventions looks better for me, since it is more easy to 
see a distinction between type name and variable names. hbBool - looks a 
little like handler hWnd, hwndClient, etc.


Regards,
Mindaugas


More information about the Harbour mailing list