[Date Prev][Date Next][Subject Prev][Subject Next][ Date Index][ Subject Index]

Re: ASCII zeroes



On Thu, 15 Jan 1998, Leslie Bialler wrote:

> but when I went to the command line and entered se |alt+shift+0| the
> cursor placed itself directly after the place where I had keyboarded it.
>
> I then moved on to the dos prompt. From
>
> C:\XY4:>
>
> I entered this command:
>
> type test 
>
> DOS returned this value: 00

Betcha what it actually returned was *three* bytes, the first of
which was an (invisible) ASCII 255 (FFh), followed by the two
digits of NUL's ASCII code in hex, namely 0 and 0.

NUL is one of 15 or 16 characters that become three-byte strings if
entered as direct ASCII, i.e., Alt-Shift-keypad_number.

Stephen
----------------------------------------------------------------------------
  essmo@xxxxxxxx   <*>   Never bite when a simple growl will do.
----------------------------------------------------------------------------