Date: Tue, 5 Oct 2010 15:46:01 -0500
Reply-To: Joe Matise <snoopy369@GMAIL.COM>
Sender: "SAS(r) Discussion" <SAS-L@LISTSERV.UGA.EDU>
From: Joe Matise <snoopy369@GMAIL.COM>
Content-Type: text/plain; charset=UTF-8
Art, I think it depends on the character set. DOS codes (alt-242) seem to
include them, but DOS was notorious for having its own implementation of
things. Dos and alt+3 digit is usually code page 437, which has as you note
≥ at 242 etc.; but that is neither particularly standard (except in
SAS appears (on my Windows 7 installation at least) to support CP-1252 and
not CP-437, hence ò not ≥. (Alt+0+242 gives the CP-1252 value, by the
way). CP-1252 does not have ≥ or ≤ available in it. I'd be curious to see
if other SAS installations support CP 437.
On Tue, Oct 5, 2010 at 3:33 PM, Arthur Tabachneck <firstname.lastname@example.org>wrote:
> I don't have SAS9.2 (thus can't test this) but, if you do, you can try the
> code suggested at:
> I think that the unicode characters needed may be 2264 and 2265.
> Interestingly, in Windows (but not in SAS), if I hold down the ALT key and,
> while it is held down, enter 242 or 243 on the numeric keypad, I do get the
> ≥ and ≤ symbols (thus they are really there).
> -----Original Message-----
> From: SAS programmer <email@example.com>
> To: firstname.lastname@example.org
> Cc: email@example.com; SAS-L@listserv.uga.edu; firstname.lastname@example.org;
> email@example.com; firstname.lastname@example.org
> Sent: Tue, Oct 5, 2010 12:28 pm
> Subject: how to add ≤ and ≥ symbols for a text in SAS
> I want to show ≤ and ≥ symbols for Inclusion and exclusion criteria
> (character) variable text and not in label. How should I do that.
> “Ages ≤ 8years old and ≥50 years old”
> Thanks in advance.