[Date Prev][Date Next][Subject Prev][Subject Next][
Date Index][
Subject Index]
Re: ANSI vs ASCII
- Subject: Re: ANSI vs ASCII
- From: cld@xxxxxxxx (Carl Distefano)
- Date: Fri, 10 Nov 2000 22:00:04 -0500 (EST)
Reply to note from "..." Fri, 10 Nov 2000
07:33:23 -0500 (EST)
-> If you use xyWrite 4, aw_hec is especially handy since one of
-> xyW4's many "improvements" was elimination of the Type 2 Help
-> frames that are the most direct way to the full IBM char set
-> in xyW3.
No need to shell out of Xy4. The Jumbo U2 provides the following
relevant commands (among others):
TABLE CHARSET gives Ascii, Hex, and Ascii-Hex conversion
tables
TABLE SPEEDOS provides a list of Speedo characters 0-909
(0-255 being identical with Ascii).
ANSI2XY does an ANSI-to-XyWrite (Ascii+Speedo) conversion
on the current file.
PUTCHAR *,# puts any Ascii character 0-255 in 1- or 3-byte
form (where "*"=a(Alpha)|[[n]n]nD(ecimal)|xxH(ex) and "#"=1|3). For
example, to put a 1-byte Ascii-30 at the cursor position:
PUTCHAR 30d,1.
XYCHAR [verbal description] or XYCHAR [number] to
put any Ascii or Speedo character. E.g., either XYCHAR 137
or XYCHAR e umlautor XYCHAR umlaut e to put an
Ascii-137 lowercase e umlaut.
HELP CHAR2NUM describes a family of routines for character-
to-number and number-to-character conversions using any base 2-36.
E.g., input "Jumbo U2" and get:
"0100101001110101011011010110001001101111001000000101010100110010"
(binary) or "10221311123112021233020011110302" (quartal) or
"112165155142157040125062" (octal) or "4A756D626F205532" (hex) or
"2239312Q330W2D1E" (base 36); and vice versa.
JM 2.Tableof256charsQ2 to put the complete Ascii charset 0-255 in
Save/Get 628, for use in XPL.
--
Carl Distefano
cld@xxxxxxxx
http://users.datarealm.com/xywwweb/