home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PsL Monthly 1994 February
/
psl_9403.zip
/
psl_9403
/
DOS
/
UT_SYSTM
/
CENVI2.ZIP
/
ASCII.CMD
< prev
next >
Wrap
OS/2 REXX Batch file
|
1993-06-14
|
506b
|
19 lines
EXTPROC CEnvi
/***************************************************
*** Ascii.cmd - Display the ASCII character set ***
***************************************************/
#define ROW_COUNT 20
#define COL_COUNT 13
Unprintables = "\a\b\t\r\n\033"
for ( row = 0; row < ROW_COUNT; row++ ) {
for ( col = 0; col < COL_COUNT; col++ ) {
c = ROW_COUNT*col + row
if c < 256
printf("%c-%-3d ",(NULL==strchr(Unprintables,c))?c:'.',c)
}
printf("\n")
}