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

+++++++++++++++++++++++++++++++++++++++++++
----- Original Message -----
From: "ForenSys" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, May 02, 2001 10:25 PM
Subject: Re: ALT 255 - Win 95/Win NT


> Pressing Alt-255 transmits character number 255 in the ASCII character set
> which is a blank. Pressing Alt-0255 transmits character number 255 in the
> ANSI character set which is the "y" with an umlaut. RBDos uses ASCII and
> RBWIN uses ANSI.
>
> So at the R> in RBwin, if you type SET V X TEXT = ' and then press Alt-152
> and another single quote, then you will see
> SET V X='�'
> If you then SET V i INT = (ICHAR(.x)) and type SHOW V I, then you will see
> 255.
>
> Please note that what you see is also dependent on the font that your are
> using for the display. In the browser you can choose Terminal font if you
> want to see the ASCII characters. Virtually every other font uses ANSI.
The
> Windows Character Map function (in Accessories) shows the character sets
for
> each font.
>
> Regards,
>
> Stephen Markson
> ForenSys The Forensic Systems Group
> www.ForensicSystemsGroup.com
> 416 482 2140
>
> ----- Original Message -----
> From: "Brent Skean" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Wednesday, May 02, 2001 12:20 PM
> Subject: ALT 255 - Win 95/Win NT
>
>
> > While not specific to RBASE, I've run across something that I would like
> to
> > verify.
> >
> > Under Win NT, the following occurs when keying in ALT 255 from:
> >
> > DOS: hard space
> > Notepad: hard space
> > Browser: hard space
> > RBDOS 4.5++: hard space
> > RBWIN 6.x: hard space
> >
> > ie, it all works as expected.
> >
> >
> > Under Win 95, the following occurs when keying in ALT 255 from:
> >
> > DOS: hard space
> > Notepad: _
> > Browser: _
> > RBDOS 4.5++: hard space
> > RBWIN 6.x: UNTESTED
> >
> > Note the oddity under Notepad and Browser.  This seems to be an actual
ALT
> > 95, the underscore.
> >
> > When inserting an ALT 255 into an RBWIN 6.x database via an R:Tango
form,
> a
> > Win 95 browser will insert an _ instead of a hard space.
> >
> > Sel all from table where field = '_' yields the inserted record.
> >
> > The same action from an NT browser inserts the hard space properly.
> >
> > This is not RBASE specific... go to www.yahoo.com and put in an ALT 255
in
> > the search box and I get an _.
> >
> > I am curious, do others see the same behavior; what about under
> > Win98/2000/ME?
> >
> > Brent Skean
> > Current Solutions
> >
> >
>


Reply via email to