On Fri, 07 Nov 2008, Fernando Mancera wrote:
Hi Fernando,
> Do we can add the following functions to Set.C?
> hb_setSetDecimals (), hb_setSetEpoch (), hb_setSetFixed () like there
> is the function Get / Set Century?
hb_setSetCentury() is specific function because it cannot be changed
by SET() function because there is no _SET_SETCENTURY so it needs
separate function to change its value.
_SET_DECIMALS, _SET_EPOCH, _SET_FIXED exist so they should be changed
by hb_setSetItem() function. Now only _SET_FIXED is supported by this
function and _SET_DECIMALS and _SET_EPOCH are marked as TODO. Just
like few others _SET_* values. I'll add support for both in a while.
Maybe someone can help in implementing rest?
/* TODO */
case HB_SET_AUTORDER:
case HB_SET_AUTOSHARE:
case HB_SET_COLOR:
case HB_SET_CURSOR:
case HB_SET_DATEFORMAT:
case HB_SET_DEFAULT:
case HB_SET_DELIMCHARS:
case HB_SET_DEVICE:
case HB_SET_EVENTMASK:
case HB_SET_MARGIN:
case HB_SET_MESSAGE:
case HB_SET_PATH:
case HB_SET_TYPEAHEAD:
case HB_SET_VIDEOMODE:
case HB_SET_LANGUAGE:
case HB_SET_CODEPAGE:
case HB_SET_FILECASE:
case HB_SET_DIRCASE:
case HB_SET_DIRSEPARATOR:
case HB_SET_EOL:
case HB_SET_HBOUTLOG:
case HB_SET_HBOUTLOGINFO:
For:
case HB_SET_ALTFILE:
case HB_SET_EXTRAFILE:
case HB_SET_PRINTFILE:
We will need hb_setSetItem2() because they need two parameters.
I'll add it.
When both functions will be ready we can change SET() function to use
internally hb_setSetItem[2]() and move its whole body to RTL.
best regards,
Przemek
_______________________________________________
Harbour mailing list
[email protected]
http://lists.harbour-project.org/mailman/listinfo/harbour