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

Re: miscellaneous



Reply to note from Morris Krok  Tue, 06 Nov
2001 11:27:46 -0800

> Q2 in Xy3 indicates suspend spelling correcting. In Xy4 it
> seems to have the additional function of executing with BX. A
> strange anomaly or is it a function that can be used both with
> the spelling command and when executing without going to the
> command line.

Yes, in Xy4 it's used in both contexts, with completely different
results. A lone Q2 (usually assigned to F2 in the .KBD file)
suspends spell-checking. After BX, it executes a command. A
syntactical oddity, to be sure.

> Carl's U2 program Bc2BX uses ascii equivalents for the embedded
> functions of BX and Q2. Is Q2 the same as in XY3: 255 130 127,
> and what are those for BX.

Actually, the routine is Robert Holmgren's, and the "Ascii
equivalents" (5-byte analogs) of both BX and Q2 are right there, in
plain view, in the code. The effect of  after each of these
strings is to translate the 5-byte string into the corresponding 3-
byte string (the embedded function). (The byte-level content of
func BX is the same whether you're viewing it in Xy3 or Xy4; it just
looks different, and, of course, has no functionality, in 3.)

By the way, the Jumbo U2 command to see the underlying byte content
of any 3-byte character is (with the cursor on the character):
V3. If the cursor is on a 1-byte character, it returns the
Ascii number.

--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/