2015-06-26 14:18 UTC+0200 Przemyslaw Czerpak (druzus/at/poczta.onet.pl)
* include/harbour.hbx
* src/rtl/cdpapihb.c
+ added new PRG function:
hb_cdpIsCharIdx( [ <cCdpID> ] [, <lNewMode>] ) -> <lPrevMode>
It returns .T. when given codepage uses custom character indexes
instead of byte indexes.
If <cCdpID> is not specified then current HVM codepage is used.
Optional logical parameter <lNewMode> allows to enable/disable
custom character indexes in codepages which have such functionality,
i.e. UTF8, BIG5, CP950.
* src/rtl/rtlshort.c
* removed __QUITCANCEL() - this function does not exist in Cl*pper.
This commit is contained in:
@@ -339,6 +339,7 @@ DYNAMIC hb_CDay
|
||||
DYNAMIC hb_cdpCharMax
|
||||
DYNAMIC hb_cdpExists
|
||||
DYNAMIC hb_cdpInfo
|
||||
DYNAMIC hb_cdpIsCharIdx
|
||||
DYNAMIC hb_cdpIsUTF8
|
||||
DYNAMIC hb_cdpList
|
||||
DYNAMIC hb_cdpOS
|
||||
|
||||
Reference in New Issue
Block a user