Chr

GCC Consulting gccconsulting at comcast.net
Wed Feb 25 11:22:09 PST 2009



> -----Original Message-----
> From: filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com
>
[mailto:filepro-list-bounces+gccconsulting=comcast.net at lists.celestial.com]
On
> Behalf Of Kenneth Brody
> Sent: Wednesday, February 25, 2009 2:04 PM
> To: rkreiss1 at comcast.net
> Cc: filepro-list at lists.celestial.com
> Subject: Re: Chr
> 
> Quoting RKreiss1 (Wed, 25 Feb 2009 13:46:57 -0500):
> 
> > Looking at the character table in fp 5.6.07 help, it indicates that
> > chr("251") is either a check mark of the square root sign  hex FB.  This
is
> > fine with me as it suites my purpose either way.
> >
> > However when I use it in programming, ck=chr("251") it displays as left
> > brace { which is chr('123") hex 7B.
> >
> > What I am doing is having items selected from a list box and I wanted to
add
> > a checkmark next to the item(s) selected.
> >
> > What I would like to know, is why I am not getting the expected
character.
> 
> What O/S?  If this is Windows, then I would expect the square root sign.
> If this is *nix, then you have to find out from your terminal emulator
> what character set it is displaying.
> 
> --
> Kenneth Brody

To answer Both Ken's and Bob's os question, this is Win XP Pro Service pack
3.

I did one more test.

@keyd:
MSGBOX "Check Mark"<chr("251"){"\nLeft Brace"<chr("123")
END

The display for this is correct.

However in 
Listb:
sl=listbox(fileds)

::fileds[sl]=fields[sl]<chr("251") ;GOTO listb

There is a left brace next to the value in fields[sl] look like this City {

Now this will indicate to the user that City was selected, however, I would
prefer the check mark.

Is it likely that the listbox is not able to display characters in this
range?

Richard





More information about the Filepro-list mailing list