| 84713 packages online |
|
|
| | | | No screenshot available |
|
Two little CLI commands which can be used for displaying the ASCII code of
a particular character, or vice versa.
The commands are equivalent to the ASC() and CHR$() functions that you'd
normally find in Basic, except that you don't need to waste memory loading
a Basic interpreter to use them! (And, of course, you can enter multiple
arguments - something else you can't do in Basic)
Anyway, here are the two commands:
Ascii - Convert characters into ASCII codes
-------------------------------------------
Usage: Ascii <char1> <char2> <etc>
Example: Ascii t e s t
ASCII code of "t" is 116 ($74)
ASCII code of "e" is 101 ($65)
ASCII code of "s" is 115 ($73)
ASCII code of "t" is 116 ($74)
Chr$ - Convert ASCII codes into characters
------------------------------------------
Usage: Chr$ <ascii1> <ascii2> <etc>
Example: Chr$ $74 $65 $73 $74
ASCII 116 ($74) is "t"
ASCII 101 ($65) is "e"
ASCII 115 ($73) is "s"
ASCII 116 ($74) is "t"
(You can enter the ASCII codes in either decimal or hex)
They're probably mainly of use to programmers. I know that *I* often find
them useful anyway!
Both progs are freeware, but remain Copyright (C) Richard Smedley 1997. If
you distribute them, then make sure you only distribute the entire archive.
Standard disclaimer applies; you use them at your own risk.
If you want to contact me, here's my address:
Richard Smedley
PO Box 59
Sutton-In-Ashfield
Notts
NG17 3HP
England
rsmedleycix.compulink.co.uk
|
Contents of util/cli/ascii.lha PERMSSN UID GID PACKED SIZE RATIO CRC STAMP NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic] 263 628 41.9% -lh5- dd29 Apr 25 1997 Ascii10.info
[generic] 4664 8092 57.6% -lh5- 2195 Apr 25 1997 Ascii10/Ascii
[generic] 802 1713 46.8% -lh5- 6e1d Apr 25 1997 Ascii10/ascii.readme
[generic] 6368 10036 63.5% -lh5- e0b9 Apr 25 1997 Ascii10/Chr$
---------- ----------- ------- ------- ------ ---------- ------------ -------------
Total 4 files 12097 20469 59.1% Apr 26 1997
|
|
|
|
Aminet © 1992-2024 Urban
Müller and
the Aminet team.
Aminet contact address: <aminetaminet net> |