Here's a neat way to see the difference between ANSI and ASCII:
Save Mike Byerley's program, reproduced below and then (in RBWin at the R>),
run it. It displays the characters with their numbers and more or less fills
the screen.
Go to Utilities/Preferences/R> Prompt. If "OEM Fixed Font" is selected then
select either of the other two fonts, else select "OEM Fixed Font". When
you click "OK" you will see the display switch to the other character set.
On my PC the "OEM FIxed Font" uses the ASCII character set.
The nomenclature, ANSI or ASCII, is confusing. The ASCII standard is in fact
an ANSI standard that was originally designed with 128 characters. The
extended characters were added with the advent of MSDOS I believe. Windows,
however, uses an ANSI standard character set that differs with the extended
ASCII for characters 128 through 255.
Regards,
Stephen Markson
ForenSys The Forensic Systems Group
www.ForensicSystemsGroup.com
416 482 2140
----- Original Message -----
From: "Mike Byerley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, May 03, 2001 1:23 PM
Subject: Re: ALT 255 - Win 95/Win NT
> Shows on Screen the Ascii / Ansii value of (char(number))........
>
> ++++++++++++++++++++++++++++++++++++++++
CLS
SET VAR vrow = 3
SET VAR vcol = 1
SET VAR vnum = 0
SET VAR vchar TEXT TO NULL
WHILE vnum <> 256 THEN
SET VAR vchar = (CHAR(.vnum))
SET VAR vnumtx = (LJS((CTXT(.vnum)),4))
WRITE .vnumtx,.vchar AT .vrow .vcol
SET VAR vnum = (.vnum + 1)
SET VAR vcol = (.vcol + 6)
IF vcol > 72 THEN
SET VAR vrow = (.vrow + 1)
SET VAR vcol = 1
ENDIF
ENDWHILE
CLEAR VAR vchar,vcol,vnum,vnumtx,vrow
RETURN