FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour chr
Posts: 7317
Joined: Thu Oct 18, 2012 07:17 PM
chr
Posted: Fri Feb 12, 2016 09:40 PM

I 'm converting an oldest clipper function and I need to show this caracter on fwh

I have on oldest source

static spade := chr(6)
static heart := chr(3)
static club := chr(5)
static diamond := chr(4)

how I can converte these chr because on windows not see the symbols
I tried also With HB_OemToAnsi and HB_ANsiToOem

thanks

Since from 1991/1992 ( fw for clipper Rel. 14.4 - Momos)

I use : FiveWin for Harbour March-April 2024 - Harbour 3.2.0dev (harbour_bcc770_32_20240309) - Bcc7.70 - xMate ver. 1.15.3 - PellesC - mail: silvio[dot]falconi[at]gmail[dot]com
Posts: 663
Joined: Mon Dec 05, 2005 11:22 PM
Re: chr
Posted: Fri Feb 12, 2016 10:46 PM

You will have to use a font that contains those symbols. In windows there is a font called Symbol that has the 4 playing card suits in them. You can see them if you run charmap program in windows. In Symbol font they are decimal 167, 168, 169, and 170.

Continue the discussion