Article View: comp.std.misc
Article #85Re: Asking for information on the RAD-50 standard
From: Peter da Silva
Date: Fri, 25 Aug 1989 17:40
Date: Fri, 25 Aug 1989 17:40
24 lines
1330 bytes
1330 bytes
In article <1075@taurus.BITNET>, adiro@TAURUS.BITNET writes:
> I am looking for information regarding the RAD-50 standard...
The rad50 (also known as rad-40) standard uses a 40-character character set.
Character Decimal Octal
(space) 0 000
A-Z 1-26 001-032
$ 27 033
. 28 034
(unused) 29 035
0-9 30-39 036-047
Depending on the application, I've seen the unused character rendered
as '@', '?' or '_'. To encode a rad-50 string, pad to a multiple of 3
characters with spaces (or, in some applications, the unused character).
Then take the characters 3 at a time (call them i, j, and k):
val == ((i*40+j)*40+k) == ((i*050+j)*050+k)
--
Peter da Silva, *NIX support guy @ Ferranti International Controls Corporation.
Biz: peter@ficc.uu.net, +1 713 274 5180. Fun: peter@sugar.hackercorp.com. `-_-'
"export ENV='${Envfile[(_$-=1)+(_=0)-(_$-!=_${-%%*i*})]}'" -- Tom Neff 'U`
"I didn't know that ksh had a built-in APL interpreter!" -- Steve J. Friedl
Technical Details
Message-ID:
<5885@ficc.uu.net>Path:
arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!texbell!sugar!ficc!peterReferences:
<1075@taurus.BITNET>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!wuarchive!texbell!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.std.misc Subject: Re: Asking for information on the RAD-50 standard Message-ID: <5885@ficc.uu.net> Date: 25 Aug 89 17:40:58 GMT References: <1075@taurus.BITNET> Organization: Xenix Support, FICC Lines: 24