#include "test.h"
|
#include "test.h"
|
#include <ctype.h>
|
#include <ctype.h>
|
|
|
int setascii;
|
int setascii;
|
int setlower;
|
int setlower;
|
int setupper;
|
int setupper;
|
int myascii;
|
int myascii;
|
int mycntrl;
|
int mycntrl;
|
int myspace;
|
int myspace;
|
int myprint;
|
int myprint;
|
int myalnum;
|
int myalnum;
|
int mydigit;
|
int mydigit;
|
int myxdigit;
|
int myxdigit;
|
int myalpha;
|
int myalpha;
|
int myupper;
|
int myupper;
|
int mylower;
|
int mylower;
|
int mygraph;
|
int mygraph;
|
int mypunct;
|
int mypunct;
|
|
|
void
|
void
|
_DEFUN(test_is_single,(i),
|
_DEFUN(test_is_single,(i),
|
int i)
|
int i)
|
{
|
{
|
setascii = 0;
|
setascii = 0;
|
setlower = 0;
|
setlower = 0;
|
setupper = 0;
|
setupper = 0;
|
|
|
myascii = 0;
|
myascii = 0;
|
mycntrl = 0;
|
mycntrl = 0;
|
myspace = 0;
|
myspace = 0;
|
myprint = 0;
|
myprint = 0;
|
myalnum = 0;
|
myalnum = 0;
|
mydigit = 0;
|
mydigit = 0;
|
myxdigit = 0;
|
myxdigit = 0;
|
myalpha = 0;
|
myalpha = 0;
|
myupper = 0;
|
myupper = 0;
|
mylower = 0;
|
mylower = 0;
|
mygraph = 0;
|
mygraph = 0;
|
mypunct = 0;
|
mypunct = 0;
|
|
|
switch (i) {
|
switch (i) {
|
case 0000:
|
case 0000:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 0;
|
setascii = 0;
|
setlower = 0;
|
setlower = 0;
|
setupper = 0;
|
setupper = 0;
|
break;
|
break;
|
case 0001:
|
case 0001:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 1;
|
setascii = 1;
|
setlower = 1;
|
setlower = 1;
|
setupper = 1;
|
setupper = 1;
|
break;
|
break;
|
case 0002:
|
case 0002:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 2;
|
setascii = 2;
|
setlower = 2;
|
setlower = 2;
|
setupper = 2;
|
setupper = 2;
|
break;
|
break;
|
case 0003:
|
case 0003:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 3;
|
setascii = 3;
|
setlower = 3;
|
setlower = 3;
|
setupper = 3;
|
setupper = 3;
|
break;
|
break;
|
case 0004:
|
case 0004:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 4;
|
setascii = 4;
|
setlower = 4;
|
setlower = 4;
|
setupper = 4;
|
setupper = 4;
|
break;
|
break;
|
case 0005:
|
case 0005:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 5;
|
setascii = 5;
|
setlower = 5;
|
setlower = 5;
|
setupper = 5;
|
setupper = 5;
|
break;
|
break;
|
case 0006:
|
case 0006:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 6;
|
setascii = 6;
|
setlower = 6;
|
setlower = 6;
|
setupper = 6;
|
setupper = 6;
|
break;
|
break;
|
case 0007:
|
case 0007:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 7;
|
setascii = 7;
|
setlower = 7;
|
setlower = 7;
|
setupper = 7;
|
setupper = 7;
|
break;
|
break;
|
case 0010:
|
case 0010:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 8;
|
setascii = 8;
|
setlower = 8;
|
setlower = 8;
|
setupper = 8;
|
setupper = 8;
|
break;
|
break;
|
case 0011:
|
case 0011:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 9;
|
setascii = 9;
|
setlower = 9;
|
setlower = 9;
|
setupper = 9;
|
setupper = 9;
|
break;
|
break;
|
case 0012:
|
case 0012:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 10;
|
setascii = 10;
|
setlower = 10;
|
setlower = 10;
|
setupper = 10;
|
setupper = 10;
|
break;
|
break;
|
case 0013:
|
case 0013:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 11;
|
setascii = 11;
|
setlower = 11;
|
setlower = 11;
|
setupper = 11;
|
setupper = 11;
|
break;
|
break;
|
case 0014:
|
case 0014:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 12;
|
setascii = 12;
|
setlower = 12;
|
setlower = 12;
|
setupper = 12;
|
setupper = 12;
|
break;
|
break;
|
case 0015:
|
case 0015:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 13;
|
setascii = 13;
|
setlower = 13;
|
setlower = 13;
|
setupper = 13;
|
setupper = 13;
|
break;
|
break;
|
case 0016:
|
case 0016:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 14;
|
setascii = 14;
|
setlower = 14;
|
setlower = 14;
|
setupper = 14;
|
setupper = 14;
|
break;
|
break;
|
case 0017:
|
case 0017:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 15;
|
setascii = 15;
|
setlower = 15;
|
setlower = 15;
|
setupper = 15;
|
setupper = 15;
|
break;
|
break;
|
case 0020:
|
case 0020:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 16;
|
setascii = 16;
|
setlower = 16;
|
setlower = 16;
|
setupper = 16;
|
setupper = 16;
|
break;
|
break;
|
case 0021:
|
case 0021:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 17;
|
setascii = 17;
|
setlower = 17;
|
setlower = 17;
|
setupper = 17;
|
setupper = 17;
|
break;
|
break;
|
case 0022:
|
case 0022:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 18;
|
setascii = 18;
|
setlower = 18;
|
setlower = 18;
|
setupper = 18;
|
setupper = 18;
|
break;
|
break;
|
case 0023:
|
case 0023:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 19;
|
setascii = 19;
|
setlower = 19;
|
setlower = 19;
|
setupper = 19;
|
setupper = 19;
|
break;
|
break;
|
case 0024:
|
case 0024:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 20;
|
setascii = 20;
|
setlower = 20;
|
setlower = 20;
|
setupper = 20;
|
setupper = 20;
|
break;
|
break;
|
case 0025:
|
case 0025:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 21;
|
setascii = 21;
|
setlower = 21;
|
setlower = 21;
|
setupper = 21;
|
setupper = 21;
|
break;
|
break;
|
case 0026:
|
case 0026:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 22;
|
setascii = 22;
|
setlower = 22;
|
setlower = 22;
|
setupper = 22;
|
setupper = 22;
|
break;
|
break;
|
case 0027:
|
case 0027:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 23;
|
setascii = 23;
|
setlower = 23;
|
setlower = 23;
|
setupper = 23;
|
setupper = 23;
|
break;
|
break;
|
case 0030:
|
case 0030:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 24;
|
setascii = 24;
|
setlower = 24;
|
setlower = 24;
|
setupper = 24;
|
setupper = 24;
|
break;
|
break;
|
case 0031:
|
case 0031:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 25;
|
setascii = 25;
|
setlower = 25;
|
setlower = 25;
|
setupper = 25;
|
setupper = 25;
|
break;
|
break;
|
case 0032:
|
case 0032:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 26;
|
setascii = 26;
|
setlower = 26;
|
setlower = 26;
|
setupper = 26;
|
setupper = 26;
|
break;
|
break;
|
case 0033:
|
case 0033:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 27;
|
setascii = 27;
|
setlower = 27;
|
setlower = 27;
|
setupper = 27;
|
setupper = 27;
|
break;
|
break;
|
case 0034:
|
case 0034:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 28;
|
setascii = 28;
|
setlower = 28;
|
setlower = 28;
|
setupper = 28;
|
setupper = 28;
|
break;
|
break;
|
case 0035:
|
case 0035:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 29;
|
setascii = 29;
|
setlower = 29;
|
setlower = 29;
|
setupper = 29;
|
setupper = 29;
|
break;
|
break;
|
case 0036:
|
case 0036:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 30;
|
setascii = 30;
|
setlower = 30;
|
setlower = 30;
|
setupper = 30;
|
setupper = 30;
|
break;
|
break;
|
case 0037:
|
case 0037:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 31;
|
setascii = 31;
|
setlower = 31;
|
setlower = 31;
|
setupper = 31;
|
setupper = 31;
|
break;
|
break;
|
case ' ':
|
case ' ':
|
myascii = 1;
|
myascii = 1;
|
myprint = 1;
|
myprint = 1;
|
myspace = 1;
|
myspace = 1;
|
setascii = 32;
|
setascii = 32;
|
setlower = 32;
|
setlower = 32;
|
setupper = 32;
|
setupper = 32;
|
break;
|
break;
|
case '!':
|
case '!':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 33;
|
setascii = 33;
|
setlower = 33;
|
setlower = 33;
|
setupper = 33;
|
setupper = 33;
|
break;
|
break;
|
case '"':
|
case '"':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 34;
|
setascii = 34;
|
setlower = 34;
|
setlower = 34;
|
setupper = 34;
|
setupper = 34;
|
break;
|
break;
|
case '#':
|
case '#':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 35;
|
setascii = 35;
|
setlower = 35;
|
setlower = 35;
|
setupper = 35;
|
setupper = 35;
|
break;
|
break;
|
case '$':
|
case '$':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 36;
|
setascii = 36;
|
setlower = 36;
|
setlower = 36;
|
setupper = 36;
|
setupper = 36;
|
break;
|
break;
|
case '%':
|
case '%':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 37;
|
setascii = 37;
|
setlower = 37;
|
setlower = 37;
|
setupper = 37;
|
setupper = 37;
|
break;
|
break;
|
case '&':
|
case '&':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 38;
|
setascii = 38;
|
setlower = 38;
|
setlower = 38;
|
setupper = 38;
|
setupper = 38;
|
break;
|
break;
|
case '\'':
|
case '\'':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 39;
|
setascii = 39;
|
setlower = 39;
|
setlower = 39;
|
setupper = 39;
|
setupper = 39;
|
break;
|
break;
|
case '\(':
|
case '\(':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 40;
|
setascii = 40;
|
setlower = 40;
|
setlower = 40;
|
setupper = 40;
|
setupper = 40;
|
break;
|
break;
|
case ')':
|
case ')':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 41;
|
setascii = 41;
|
setlower = 41;
|
setlower = 41;
|
setupper = 41;
|
setupper = 41;
|
break;
|
break;
|
case '*':
|
case '*':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 42;
|
setascii = 42;
|
setlower = 42;
|
setlower = 42;
|
setupper = 42;
|
setupper = 42;
|
break;
|
break;
|
case '+':
|
case '+':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 43;
|
setascii = 43;
|
setlower = 43;
|
setlower = 43;
|
setupper = 43;
|
setupper = 43;
|
break;
|
break;
|
case ',':
|
case ',':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 44;
|
setascii = 44;
|
setlower = 44;
|
setlower = 44;
|
setupper = 44;
|
setupper = 44;
|
break;
|
break;
|
case '-':
|
case '-':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 45;
|
setascii = 45;
|
setlower = 45;
|
setlower = 45;
|
setupper = 45;
|
setupper = 45;
|
break;
|
break;
|
case '.':
|
case '.':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 46;
|
setascii = 46;
|
setlower = 46;
|
setlower = 46;
|
setupper = 46;
|
setupper = 46;
|
break;
|
break;
|
case '/':
|
case '/':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 47;
|
setascii = 47;
|
setlower = 47;
|
setlower = 47;
|
setupper = 47;
|
setupper = 47;
|
break;
|
break;
|
case '0':
|
case '0':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 48;
|
setascii = 48;
|
setlower = 48;
|
setlower = 48;
|
setupper = 48;
|
setupper = 48;
|
break;
|
break;
|
case '1':
|
case '1':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 49;
|
setascii = 49;
|
setlower = 49;
|
setlower = 49;
|
setupper = 49;
|
setupper = 49;
|
break;
|
break;
|
case '2':
|
case '2':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 50;
|
setascii = 50;
|
setlower = 50;
|
setlower = 50;
|
setupper = 50;
|
setupper = 50;
|
break;
|
break;
|
case '3':
|
case '3':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 51;
|
setascii = 51;
|
setlower = 51;
|
setlower = 51;
|
setupper = 51;
|
setupper = 51;
|
break;
|
break;
|
case '4':
|
case '4':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 52;
|
setascii = 52;
|
setlower = 52;
|
setlower = 52;
|
setupper = 52;
|
setupper = 52;
|
break;
|
break;
|
case '5':
|
case '5':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 53;
|
setascii = 53;
|
setlower = 53;
|
setlower = 53;
|
setupper = 53;
|
setupper = 53;
|
break;
|
break;
|
case '6':
|
case '6':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 54;
|
setascii = 54;
|
setlower = 54;
|
setlower = 54;
|
setupper = 54;
|
setupper = 54;
|
break;
|
break;
|
case '7':
|
case '7':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 55;
|
setascii = 55;
|
setlower = 55;
|
setlower = 55;
|
setupper = 55;
|
setupper = 55;
|
break;
|
break;
|
case '8':
|
case '8':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 56;
|
setascii = 56;
|
setlower = 56;
|
setlower = 56;
|
setupper = 56;
|
setupper = 56;
|
break;
|
break;
|
case '9':
|
case '9':
|
myalnum = 1;
|
myalnum = 1;
|
myascii = 1;
|
myascii = 1;
|
mydigit = 1;
|
mydigit = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 57;
|
setascii = 57;
|
setlower = 57;
|
setlower = 57;
|
setupper = 57;
|
setupper = 57;
|
break;
|
break;
|
case ':':
|
case ':':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 58;
|
setascii = 58;
|
setlower = 58;
|
setlower = 58;
|
setupper = 58;
|
setupper = 58;
|
break;
|
break;
|
case ';':
|
case ';':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 59;
|
setascii = 59;
|
setlower = 59;
|
setlower = 59;
|
setupper = 59;
|
setupper = 59;
|
break;
|
break;
|
case '<':
|
case '<':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 60;
|
setascii = 60;
|
setlower = 60;
|
setlower = 60;
|
setupper = 60;
|
setupper = 60;
|
break;
|
break;
|
case '=':
|
case '=':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 61;
|
setascii = 61;
|
setlower = 61;
|
setlower = 61;
|
setupper = 61;
|
setupper = 61;
|
break;
|
break;
|
case '>':
|
case '>':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 62;
|
setascii = 62;
|
setlower = 62;
|
setlower = 62;
|
setupper = 62;
|
setupper = 62;
|
break;
|
break;
|
case '?':
|
case '?':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 63;
|
setascii = 63;
|
setlower = 63;
|
setlower = 63;
|
setupper = 63;
|
setupper = 63;
|
break;
|
break;
|
case '@':
|
case '@':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 64;
|
setascii = 64;
|
setlower = 64;
|
setlower = 64;
|
setupper = 64;
|
setupper = 64;
|
break;
|
break;
|
case 'A':
|
case 'A':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 65;
|
setascii = 65;
|
setlower = 97;
|
setlower = 97;
|
setupper = 65;
|
setupper = 65;
|
break;
|
break;
|
case 'B':
|
case 'B':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 66;
|
setascii = 66;
|
setlower = 98;
|
setlower = 98;
|
setupper = 66;
|
setupper = 66;
|
break;
|
break;
|
case 'C':
|
case 'C':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 67;
|
setascii = 67;
|
setlower = 99;
|
setlower = 99;
|
setupper = 67;
|
setupper = 67;
|
break;
|
break;
|
case 'D':
|
case 'D':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 68;
|
setascii = 68;
|
setlower = 100;
|
setlower = 100;
|
setupper = 68;
|
setupper = 68;
|
break;
|
break;
|
case 'E':
|
case 'E':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 69;
|
setascii = 69;
|
setlower = 101;
|
setlower = 101;
|
setupper = 69;
|
setupper = 69;
|
break;
|
break;
|
case 'F':
|
case 'F':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 70;
|
setascii = 70;
|
setlower = 102;
|
setlower = 102;
|
setupper = 70;
|
setupper = 70;
|
break;
|
break;
|
case 'G':
|
case 'G':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 71;
|
setascii = 71;
|
setlower = 103;
|
setlower = 103;
|
setupper = 71;
|
setupper = 71;
|
break;
|
break;
|
case 'H':
|
case 'H':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 72;
|
setascii = 72;
|
setlower = 104;
|
setlower = 104;
|
setupper = 72;
|
setupper = 72;
|
break;
|
break;
|
case 'I':
|
case 'I':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 73;
|
setascii = 73;
|
setlower = 105;
|
setlower = 105;
|
setupper = 73;
|
setupper = 73;
|
break;
|
break;
|
case 'J':
|
case 'J':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 74;
|
setascii = 74;
|
setlower = 106;
|
setlower = 106;
|
setupper = 74;
|
setupper = 74;
|
break;
|
break;
|
case 'K':
|
case 'K':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 75;
|
setascii = 75;
|
setlower = 107;
|
setlower = 107;
|
setupper = 75;
|
setupper = 75;
|
break;
|
break;
|
case 'L':
|
case 'L':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 76;
|
setascii = 76;
|
setlower = 108;
|
setlower = 108;
|
setupper = 76;
|
setupper = 76;
|
break;
|
break;
|
case 'M':
|
case 'M':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 77;
|
setascii = 77;
|
setlower = 109;
|
setlower = 109;
|
setupper = 77;
|
setupper = 77;
|
break;
|
break;
|
case 'N':
|
case 'N':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 78;
|
setascii = 78;
|
setlower = 110;
|
setlower = 110;
|
setupper = 78;
|
setupper = 78;
|
break;
|
break;
|
case 'O':
|
case 'O':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 79;
|
setascii = 79;
|
setlower = 111;
|
setlower = 111;
|
setupper = 79;
|
setupper = 79;
|
break;
|
break;
|
case 'P':
|
case 'P':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 80;
|
setascii = 80;
|
setlower = 112;
|
setlower = 112;
|
setupper = 80;
|
setupper = 80;
|
break;
|
break;
|
case 'Q':
|
case 'Q':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 81;
|
setascii = 81;
|
setlower = 113;
|
setlower = 113;
|
setupper = 81;
|
setupper = 81;
|
break;
|
break;
|
case 'R':
|
case 'R':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 82;
|
setascii = 82;
|
setlower = 114;
|
setlower = 114;
|
setupper = 82;
|
setupper = 82;
|
break;
|
break;
|
case 'S':
|
case 'S':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 83;
|
setascii = 83;
|
setlower = 115;
|
setlower = 115;
|
setupper = 83;
|
setupper = 83;
|
break;
|
break;
|
case 'T':
|
case 'T':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 84;
|
setascii = 84;
|
setlower = 116;
|
setlower = 116;
|
setupper = 84;
|
setupper = 84;
|
break;
|
break;
|
case 'U':
|
case 'U':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 85;
|
setascii = 85;
|
setlower = 117;
|
setlower = 117;
|
setupper = 85;
|
setupper = 85;
|
break;
|
break;
|
case 'V':
|
case 'V':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 86;
|
setascii = 86;
|
setlower = 118;
|
setlower = 118;
|
setupper = 86;
|
setupper = 86;
|
break;
|
break;
|
case 'W':
|
case 'W':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 87;
|
setascii = 87;
|
setlower = 119;
|
setlower = 119;
|
setupper = 87;
|
setupper = 87;
|
break;
|
break;
|
case 'X':
|
case 'X':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 88;
|
setascii = 88;
|
setlower = 120;
|
setlower = 120;
|
setupper = 88;
|
setupper = 88;
|
break;
|
break;
|
case 'Y':
|
case 'Y':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 89;
|
setascii = 89;
|
setlower = 121;
|
setlower = 121;
|
setupper = 89;
|
setupper = 89;
|
break;
|
break;
|
case 'Z':
|
case 'Z':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
myupper = 1;
|
myupper = 1;
|
setascii = 90;
|
setascii = 90;
|
setlower = 122;
|
setlower = 122;
|
setupper = 90;
|
setupper = 90;
|
break;
|
break;
|
case '[':
|
case '[':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 91;
|
setascii = 91;
|
setlower = 91;
|
setlower = 91;
|
setupper = 91;
|
setupper = 91;
|
break;
|
break;
|
case '\\':
|
case '\\':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 92;
|
setascii = 92;
|
setlower = 92;
|
setlower = 92;
|
setupper = 92;
|
setupper = 92;
|
break;
|
break;
|
case ']':
|
case ']':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 93;
|
setascii = 93;
|
setlower = 93;
|
setlower = 93;
|
setupper = 93;
|
setupper = 93;
|
break;
|
break;
|
case '^':
|
case '^':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 94;
|
setascii = 94;
|
setlower = 94;
|
setlower = 94;
|
setupper = 94;
|
setupper = 94;
|
break;
|
break;
|
case '_':
|
case '_':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 95;
|
setascii = 95;
|
setlower = 95;
|
setlower = 95;
|
setupper = 95;
|
setupper = 95;
|
break;
|
break;
|
case '`':
|
case '`':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 96;
|
setascii = 96;
|
setlower = 96;
|
setlower = 96;
|
setupper = 96;
|
setupper = 96;
|
break;
|
break;
|
case 'a':
|
case 'a':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 97;
|
setascii = 97;
|
setlower = 97;
|
setlower = 97;
|
setupper = 65;
|
setupper = 65;
|
break;
|
break;
|
case 'b':
|
case 'b':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 98;
|
setascii = 98;
|
setlower = 98;
|
setlower = 98;
|
setupper = 66;
|
setupper = 66;
|
break;
|
break;
|
case 'c':
|
case 'c':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 99;
|
setascii = 99;
|
setlower = 99;
|
setlower = 99;
|
setupper = 67;
|
setupper = 67;
|
break;
|
break;
|
case 'd':
|
case 'd':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 100;
|
setascii = 100;
|
setlower = 100;
|
setlower = 100;
|
setupper = 68;
|
setupper = 68;
|
break;
|
break;
|
case 'e':
|
case 'e':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 101;
|
setascii = 101;
|
setlower = 101;
|
setlower = 101;
|
setupper = 69;
|
setupper = 69;
|
break;
|
break;
|
case 'f':
|
case 'f':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
myxdigit = 1;
|
myxdigit = 1;
|
setascii = 102;
|
setascii = 102;
|
setlower = 102;
|
setlower = 102;
|
setupper = 70;
|
setupper = 70;
|
break;
|
break;
|
case 'g':
|
case 'g':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 103;
|
setascii = 103;
|
setlower = 103;
|
setlower = 103;
|
setupper = 71;
|
setupper = 71;
|
break;
|
break;
|
case 'h':
|
case 'h':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 104;
|
setascii = 104;
|
setlower = 104;
|
setlower = 104;
|
setupper = 72;
|
setupper = 72;
|
break;
|
break;
|
case 'i':
|
case 'i':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 105;
|
setascii = 105;
|
setlower = 105;
|
setlower = 105;
|
setupper = 73;
|
setupper = 73;
|
break;
|
break;
|
case 'j':
|
case 'j':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 106;
|
setascii = 106;
|
setlower = 106;
|
setlower = 106;
|
setupper = 74;
|
setupper = 74;
|
break;
|
break;
|
case 'k':
|
case 'k':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 107;
|
setascii = 107;
|
setlower = 107;
|
setlower = 107;
|
setupper = 75;
|
setupper = 75;
|
break;
|
break;
|
case 'l':
|
case 'l':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 108;
|
setascii = 108;
|
setlower = 108;
|
setlower = 108;
|
setupper = 76;
|
setupper = 76;
|
break;
|
break;
|
case 'm':
|
case 'm':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 109;
|
setascii = 109;
|
setlower = 109;
|
setlower = 109;
|
setupper = 77;
|
setupper = 77;
|
break;
|
break;
|
case 'n':
|
case 'n':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 110;
|
setascii = 110;
|
setlower = 110;
|
setlower = 110;
|
setupper = 78;
|
setupper = 78;
|
break;
|
break;
|
case 'o':
|
case 'o':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 111;
|
setascii = 111;
|
setlower = 111;
|
setlower = 111;
|
setupper = 79;
|
setupper = 79;
|
break;
|
break;
|
case 'p':
|
case 'p':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 112;
|
setascii = 112;
|
setlower = 112;
|
setlower = 112;
|
setupper = 80;
|
setupper = 80;
|
break;
|
break;
|
case 'q':
|
case 'q':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 113;
|
setascii = 113;
|
setlower = 113;
|
setlower = 113;
|
setupper = 81;
|
setupper = 81;
|
break;
|
break;
|
case 'r':
|
case 'r':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 114;
|
setascii = 114;
|
setlower = 114;
|
setlower = 114;
|
setupper = 82;
|
setupper = 82;
|
break;
|
break;
|
case 's':
|
case 's':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 115;
|
setascii = 115;
|
setlower = 115;
|
setlower = 115;
|
setupper = 83;
|
setupper = 83;
|
break;
|
break;
|
case 't':
|
case 't':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 116;
|
setascii = 116;
|
setlower = 116;
|
setlower = 116;
|
setupper = 84;
|
setupper = 84;
|
break;
|
break;
|
case 'u':
|
case 'u':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 117;
|
setascii = 117;
|
setlower = 117;
|
setlower = 117;
|
setupper = 85;
|
setupper = 85;
|
break;
|
break;
|
case 'v':
|
case 'v':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 118;
|
setascii = 118;
|
setlower = 118;
|
setlower = 118;
|
setupper = 86;
|
setupper = 86;
|
break;
|
break;
|
case 'w':
|
case 'w':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 119;
|
setascii = 119;
|
setlower = 119;
|
setlower = 119;
|
setupper = 87;
|
setupper = 87;
|
break;
|
break;
|
case 'x':
|
case 'x':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 120;
|
setascii = 120;
|
setlower = 120;
|
setlower = 120;
|
setupper = 88;
|
setupper = 88;
|
break;
|
break;
|
case 'y':
|
case 'y':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 121;
|
setascii = 121;
|
setlower = 121;
|
setlower = 121;
|
setupper = 89;
|
setupper = 89;
|
break;
|
break;
|
case 'z':
|
case 'z':
|
myalnum = 1;
|
myalnum = 1;
|
myalpha = 1;
|
myalpha = 1;
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
mylower = 1;
|
mylower = 1;
|
myprint = 1;
|
myprint = 1;
|
setascii = 122;
|
setascii = 122;
|
setlower = 122;
|
setlower = 122;
|
setupper = 90;
|
setupper = 90;
|
break;
|
break;
|
case '{':
|
case '{':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 123;
|
setascii = 123;
|
setlower = 123;
|
setlower = 123;
|
setupper = 123;
|
setupper = 123;
|
break;
|
break;
|
case '|':
|
case '|':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 124;
|
setascii = 124;
|
setlower = 124;
|
setlower = 124;
|
setupper = 124;
|
setupper = 124;
|
break;
|
break;
|
case '}':
|
case '}':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 125;
|
setascii = 125;
|
setlower = 125;
|
setlower = 125;
|
setupper = 125;
|
setupper = 125;
|
break;
|
break;
|
case '~':
|
case '~':
|
myascii = 1;
|
myascii = 1;
|
mygraph = 1;
|
mygraph = 1;
|
myprint = 1;
|
myprint = 1;
|
mypunct = 1;
|
mypunct = 1;
|
setascii = 126;
|
setascii = 126;
|
setlower = 126;
|
setlower = 126;
|
setupper = 126;
|
setupper = 126;
|
break;
|
break;
|
case 0177:
|
case 0177:
|
myascii = 1;
|
myascii = 1;
|
mycntrl = 1;
|
mycntrl = 1;
|
setascii = 127;
|
setascii = 127;
|
setlower = 127;
|
setlower = 127;
|
setupper = 127;
|
setupper = 127;
|
break;
|
break;
|
case 0200:
|
case 0200:
|
setascii = 0;
|
setascii = 0;
|
setlower = 128;
|
setlower = 128;
|
setupper = 128;
|
setupper = 128;
|
break;
|
break;
|
case 0201:
|
case 0201:
|
setascii = 1;
|
setascii = 1;
|
setlower = 129;
|
setlower = 129;
|
setupper = 129;
|
setupper = 129;
|
break;
|
break;
|
case 0202:
|
case 0202:
|
setascii = 2;
|
setascii = 2;
|
setlower = 130;
|
setlower = 130;
|
setupper = 130;
|
setupper = 130;
|
break;
|
break;
|
case 0203:
|
case 0203:
|
setascii = 3;
|
setascii = 3;
|
setlower = 131;
|
setlower = 131;
|
setupper = 131;
|
setupper = 131;
|
break;
|
break;
|
case 0204:
|
case 0204:
|
setascii = 4;
|
setascii = 4;
|
setlower = 132;
|
setlower = 132;
|
setupper = 132;
|
setupper = 132;
|
break;
|
break;
|
case 0205:
|
case 0205:
|
setascii = 5;
|
setascii = 5;
|
setlower = 133;
|
setlower = 133;
|
setupper = 133;
|
setupper = 133;
|
break;
|
break;
|
case 0206:
|
case 0206:
|
setascii = 6;
|
setascii = 6;
|
setlower = 134;
|
setlower = 134;
|
setupper = 134;
|
setupper = 134;
|
break;
|
break;
|
case 0207:
|
case 0207:
|
setascii = 7;
|
setascii = 7;
|
setlower = 135;
|
setlower = 135;
|
setupper = 135;
|
setupper = 135;
|
break;
|
break;
|
case 0210:
|
case 0210:
|
setascii = 8;
|
setascii = 8;
|
setlower = 136;
|
setlower = 136;
|
setupper = 136;
|
setupper = 136;
|
break;
|
break;
|
case 0211:
|
case 0211:
|
setascii = 9;
|
setascii = 9;
|
setlower = 137;
|
setlower = 137;
|
setupper = 137;
|
setupper = 137;
|
break;
|
break;
|
case 0212:
|
case 0212:
|
setascii = 10;
|
setascii = 10;
|
setlower = 138;
|
setlower = 138;
|
setupper = 138;
|
setupper = 138;
|
break;
|
break;
|
case 0213:
|
case 0213:
|
setascii = 11;
|
setascii = 11;
|
setlower = 139;
|
setlower = 139;
|
setupper = 139;
|
setupper = 139;
|
break;
|
break;
|
case 0214:
|
case 0214:
|
setascii = 12;
|
setascii = 12;
|
setlower = 140;
|
setlower = 140;
|
setupper = 140;
|
setupper = 140;
|
break;
|
break;
|
case 0215:
|
case 0215:
|
setascii = 13;
|
setascii = 13;
|
setlower = 141;
|
setlower = 141;
|
setupper = 141;
|
setupper = 141;
|
break;
|
break;
|
case 0216:
|
case 0216:
|
setascii = 14;
|
setascii = 14;
|
setlower = 142;
|
setlower = 142;
|
setupper = 142;
|
setupper = 142;
|
break;
|
break;
|
case 0217:
|
case 0217:
|
setascii = 15;
|
setascii = 15;
|
setlower = 143;
|
setlower = 143;
|
setupper = 143;
|
setupper = 143;
|
break;
|
break;
|
case 0220:
|
case 0220:
|
setascii = 16;
|
setascii = 16;
|
setlower = 144;
|
setlower = 144;
|
setupper = 144;
|
setupper = 144;
|
break;
|
break;
|
case 0221:
|
case 0221:
|
setascii = 17;
|
setascii = 17;
|
setlower = 145;
|
setlower = 145;
|
setupper = 145;
|
setupper = 145;
|
break;
|
break;
|
case 0222:
|
case 0222:
|
setascii = 18;
|
setascii = 18;
|
setlower = 146;
|
setlower = 146;
|
setupper = 146;
|
setupper = 146;
|
break;
|
break;
|
case 0223:
|
case 0223:
|
setascii = 19;
|
setascii = 19;
|
setlower = 147;
|
setlower = 147;
|
setupper = 147;
|
setupper = 147;
|
break;
|
break;
|
case 0224:
|
case 0224:
|
setascii = 20;
|
setascii = 20;
|
setlower = 148;
|
setlower = 148;
|
setupper = 148;
|
setupper = 148;
|
break;
|
break;
|
case 0225:
|
case 0225:
|
setascii = 21;
|
setascii = 21;
|
setlower = 149;
|
setlower = 149;
|
setupper = 149;
|
setupper = 149;
|
break;
|
break;
|
case 0226:
|
case 0226:
|
setascii = 22;
|
setascii = 22;
|
setlower = 150;
|
setlower = 150;
|
setupper = 150;
|
setupper = 150;
|
break;
|
break;
|
case 0227:
|
case 0227:
|
setascii = 23;
|
setascii = 23;
|
setlower = 151;
|
setlower = 151;
|
setupper = 151;
|
setupper = 151;
|
break;
|
break;
|
case 0230:
|
case 0230:
|
setascii = 24;
|
setascii = 24;
|
setlower = 152;
|
setlower = 152;
|
setupper = 152;
|
setupper = 152;
|
break;
|
break;
|
case 0231:
|
case 0231:
|
setascii = 25;
|
setascii = 25;
|
setlower = 153;
|
setlower = 153;
|
setupper = 153;
|
setupper = 153;
|
break;
|
break;
|
case 0232:
|
case 0232:
|
setascii = 26;
|
setascii = 26;
|
setlower = 154;
|
setlower = 154;
|
setupper = 154;
|
setupper = 154;
|
break;
|
break;
|
case 0233:
|
case 0233:
|
setascii = 27;
|
setascii = 27;
|
setlower = 155;
|
setlower = 155;
|
setupper = 155;
|
setupper = 155;
|
break;
|
break;
|
case 0234:
|
case 0234:
|
setascii = 28;
|
setascii = 28;
|
setlower = 156;
|
setlower = 156;
|
setupper = 156;
|
setupper = 156;
|
break;
|
break;
|
case 0235:
|
case 0235:
|
setascii = 29;
|
setascii = 29;
|
setlower = 157;
|
setlower = 157;
|
setupper = 157;
|
setupper = 157;
|
break;
|
break;
|
case 0236:
|
case 0236:
|
setascii = 30;
|
setascii = 30;
|
setlower = 158;
|
setlower = 158;
|
setupper = 158;
|
setupper = 158;
|
break;
|
break;
|
case 0237:
|
case 0237:
|
setascii = 31;
|
setascii = 31;
|
setlower = 159;
|
setlower = 159;
|
setupper = 159;
|
setupper = 159;
|
break;
|
break;
|
case 0240:
|
case 0240:
|
setascii = 32;
|
setascii = 32;
|
setlower = 160;
|
setlower = 160;
|
setupper = 160;
|
setupper = 160;
|
break;
|
break;
|
case 0241:
|
case 0241:
|
setascii = 33;
|
setascii = 33;
|
setlower = 161;
|
setlower = 161;
|
setupper = 161;
|
setupper = 161;
|
break;
|
break;
|
case 0242:
|
case 0242:
|
setascii = 34;
|
setascii = 34;
|
setlower = 162;
|
setlower = 162;
|
setupper = 162;
|
setupper = 162;
|
break;
|
break;
|
case 0243:
|
case 0243:
|
setascii = 35;
|
setascii = 35;
|
setlower = 163;
|
setlower = 163;
|
setupper = 163;
|
setupper = 163;
|
break;
|
break;
|
case 0244:
|
case 0244:
|
setascii = 36;
|
setascii = 36;
|
setlower = 164;
|
setlower = 164;
|
setupper = 164;
|
setupper = 164;
|
break;
|
break;
|
case 0245:
|
case 0245:
|
setascii = 37;
|
setascii = 37;
|
setlower = 165;
|
setlower = 165;
|
setupper = 165;
|
setupper = 165;
|
break;
|
break;
|
case 0246:
|
case 0246:
|
setascii = 38;
|
setascii = 38;
|
setlower = 166;
|
setlower = 166;
|
setupper = 166;
|
setupper = 166;
|
break;
|
break;
|
case 0247:
|
case 0247:
|
setascii = 39;
|
setascii = 39;
|
setlower = 167;
|
setlower = 167;
|
setupper = 167;
|
setupper = 167;
|
break;
|
break;
|
case 0250:
|
case 0250:
|
setascii = 40;
|
setascii = 40;
|
setlower = 168;
|
setlower = 168;
|
setupper = 168;
|
setupper = 168;
|
break;
|
break;
|
case 0251:
|
case 0251:
|
setascii = 41;
|
setascii = 41;
|
setlower = 169;
|
setlower = 169;
|
setupper = 169;
|
setupper = 169;
|
break;
|
break;
|
case 0252:
|
case 0252:
|
setascii = 42;
|
setascii = 42;
|
setlower = 170;
|
setlower = 170;
|
setupper = 170;
|
setupper = 170;
|
break;
|
break;
|
case 0253:
|
case 0253:
|
setascii = 43;
|
setascii = 43;
|
setlower = 171;
|
setlower = 171;
|
setupper = 171;
|
setupper = 171;
|
break;
|
break;
|
case 0254:
|
case 0254:
|
setascii = 44;
|
setascii = 44;
|
setlower = 172;
|
setlower = 172;
|
setupper = 172;
|
setupper = 172;
|
break;
|
break;
|
case 0255:
|
case 0255:
|
setascii = 45;
|
setascii = 45;
|
setlower = 173;
|
setlower = 173;
|
setupper = 173;
|
setupper = 173;
|
break;
|
break;
|
case 0256:
|
case 0256:
|
setascii = 46;
|
setascii = 46;
|
setlower = 174;
|
setlower = 174;
|
setupper = 174;
|
setupper = 174;
|
break;
|
break;
|
case 0257:
|
case 0257:
|
setascii = 47;
|
setascii = 47;
|
setlower = 175;
|
setlower = 175;
|
setupper = 175;
|
setupper = 175;
|
break;
|
break;
|
case 0260:
|
case 0260:
|
setascii = 48;
|
setascii = 48;
|
setlower = 176;
|
setlower = 176;
|
setupper = 176;
|
setupper = 176;
|
break;
|
break;
|
case 0261:
|
case 0261:
|
setascii = 49;
|
setascii = 49;
|
setlower = 177;
|
setlower = 177;
|
setupper = 177;
|
setupper = 177;
|
break;
|
break;
|
case 0262:
|
case 0262:
|
setascii = 50;
|
setascii = 50;
|
setlower = 178;
|
setlower = 178;
|
setupper = 178;
|
setupper = 178;
|
break;
|
break;
|
case 0263:
|
case 0263:
|
setascii = 51;
|
setascii = 51;
|
setlower = 179;
|
setlower = 179;
|
setupper = 179;
|
setupper = 179;
|
break;
|
break;
|
case 0264:
|
case 0264:
|
setascii = 52;
|
setascii = 52;
|
setlower = 180;
|
setlower = 180;
|
setupper = 180;
|
setupper = 180;
|
break;
|
break;
|
case 0265:
|
case 0265:
|
setascii = 53;
|
setascii = 53;
|
setlower = 181;
|
setlower = 181;
|
setupper = 181;
|
setupper = 181;
|
break;
|
break;
|
case 0266:
|
case 0266:
|
setascii = 54;
|
setascii = 54;
|
setlower = 182;
|
setlower = 182;
|
setupper = 182;
|
setupper = 182;
|
break;
|
break;
|
case 0267:
|
case 0267:
|
setascii = 55;
|
setascii = 55;
|
setlower = 183;
|
setlower = 183;
|
setupper = 183;
|
setupper = 183;
|
break;
|
break;
|
case 0270:
|
case 0270:
|
setascii = 56;
|
setascii = 56;
|
setlower = 184;
|
setlower = 184;
|
setupper = 184;
|
setupper = 184;
|
break;
|
break;
|
case 0271:
|
case 0271:
|
setascii = 57;
|
setascii = 57;
|
setlower = 185;
|
setlower = 185;
|
setupper = 185;
|
setupper = 185;
|
break;
|
break;
|
case 0272:
|
case 0272:
|
setascii = 58;
|
setascii = 58;
|
setlower = 186;
|
setlower = 186;
|
setupper = 186;
|
setupper = 186;
|
break;
|
break;
|
case 0273:
|
case 0273:
|
setascii = 59;
|
setascii = 59;
|
setlower = 187;
|
setlower = 187;
|
setupper = 187;
|
setupper = 187;
|
break;
|
break;
|
case 0274:
|
case 0274:
|
setascii = 60;
|
setascii = 60;
|
setlower = 188;
|
setlower = 188;
|
setupper = 188;
|
setupper = 188;
|
break;
|
break;
|
case 0275:
|
case 0275:
|
setascii = 61;
|
setascii = 61;
|
setlower = 189;
|
setlower = 189;
|
setupper = 189;
|
setupper = 189;
|
break;
|
break;
|
case 0276:
|
case 0276:
|
setascii = 62;
|
setascii = 62;
|
setlower = 190;
|
setlower = 190;
|
setupper = 190;
|
setupper = 190;
|
break;
|
break;
|
case 0277:
|
case 0277:
|
setascii = 63;
|
setascii = 63;
|
setlower = 191;
|
setlower = 191;
|
setupper = 191;
|
setupper = 191;
|
break;
|
break;
|
case 0300:
|
case 0300:
|
setascii = 64;
|
setascii = 64;
|
setlower = 192;
|
setlower = 192;
|
setupper = 192;
|
setupper = 192;
|
break;
|
break;
|
case 0301:
|
case 0301:
|
setascii = 65;
|
setascii = 65;
|
setlower = 193;
|
setlower = 193;
|
setupper = 193;
|
setupper = 193;
|
break;
|
break;
|
case 0302:
|
case 0302:
|
setascii = 66;
|
setascii = 66;
|
setlower = 194;
|
setlower = 194;
|
setupper = 194;
|
setupper = 194;
|
break;
|
break;
|
case 0303:
|
case 0303:
|
setascii = 67;
|
setascii = 67;
|
setlower = 195;
|
setlower = 195;
|
setupper = 195;
|
setupper = 195;
|
break;
|
break;
|
case 0304:
|
case 0304:
|
setascii = 68;
|
setascii = 68;
|
setlower = 196;
|
setlower = 196;
|
setupper = 196;
|
setupper = 196;
|
break;
|
break;
|
case 0305:
|
case 0305:
|
setascii = 69;
|
setascii = 69;
|
setlower = 197;
|
setlower = 197;
|
setupper = 197;
|
setupper = 197;
|
break;
|
break;
|
case 0306:
|
case 0306:
|
setascii = 70;
|
setascii = 70;
|
setlower = 198;
|
setlower = 198;
|
setupper = 198;
|
setupper = 198;
|
break;
|
break;
|
case 0307:
|
case 0307:
|
setascii = 71;
|
setascii = 71;
|
setlower = 199;
|
setlower = 199;
|
setupper = 199;
|
setupper = 199;
|
break;
|
break;
|
case 0310:
|
case 0310:
|
setascii = 72;
|
setascii = 72;
|
setlower = 200;
|
setlower = 200;
|
setupper = 200;
|
setupper = 200;
|
break;
|
break;
|
case 0311:
|
case 0311:
|
setascii = 73;
|
setascii = 73;
|
setlower = 201;
|
setlower = 201;
|
setupper = 201;
|
setupper = 201;
|
break;
|
break;
|
case 0312:
|
case 0312:
|
setascii = 74;
|
setascii = 74;
|
setlower = 202;
|
setlower = 202;
|
setupper = 202;
|
setupper = 202;
|
break;
|
break;
|
case 0313:
|
case 0313:
|
setascii = 75;
|
setascii = 75;
|
setlower = 203;
|
setlower = 203;
|
setupper = 203;
|
setupper = 203;
|
break;
|
break;
|
case 0314:
|
case 0314:
|
setascii = 76;
|
setascii = 76;
|
setlower = 204;
|
setlower = 204;
|
setupper = 204;
|
setupper = 204;
|
break;
|
break;
|
case 0315:
|
case 0315:
|
setascii = 77;
|
setascii = 77;
|
setlower = 205;
|
setlower = 205;
|
setupper = 205;
|
setupper = 205;
|
break;
|
break;
|
case 0316:
|
case 0316:
|
setascii = 78;
|
setascii = 78;
|
setlower = 206;
|
setlower = 206;
|
setupper = 206;
|
setupper = 206;
|
break;
|
break;
|
case 0317:
|
case 0317:
|
setascii = 79;
|
setascii = 79;
|
setlower = 207;
|
setlower = 207;
|
setupper = 207;
|
setupper = 207;
|
break;
|
break;
|
case 0320:
|
case 0320:
|
setascii = 80;
|
setascii = 80;
|
setlower = 208;
|
setlower = 208;
|
setupper = 208;
|
setupper = 208;
|
break;
|
break;
|
case 0321:
|
case 0321:
|
setascii = 81;
|
setascii = 81;
|
setlower = 209;
|
setlower = 209;
|
setupper = 209;
|
setupper = 209;
|
break;
|
break;
|
case 0322:
|
case 0322:
|
setascii = 82;
|
setascii = 82;
|
setlower = 210;
|
setlower = 210;
|
setupper = 210;
|
setupper = 210;
|
break;
|
break;
|
case 0323:
|
case 0323:
|
setascii = 83;
|
setascii = 83;
|
setlower = 211;
|
setlower = 211;
|
setupper = 211;
|
setupper = 211;
|
break;
|
break;
|
case 0324:
|
case 0324:
|
setascii = 84;
|
setascii = 84;
|
setlower = 212;
|
setlower = 212;
|
setupper = 212;
|
setupper = 212;
|
break;
|
break;
|
case 0325:
|
case 0325:
|
setascii = 85;
|
setascii = 85;
|
setlower = 213;
|
setlower = 213;
|
setupper = 213;
|
setupper = 213;
|
break;
|
break;
|
case 0326:
|
case 0326:
|
setascii = 86;
|
setascii = 86;
|
setlower = 214;
|
setlower = 214;
|
setupper = 214;
|
setupper = 214;
|
break;
|
break;
|
case 0327:
|
case 0327:
|
setascii = 87;
|
setascii = 87;
|
setlower = 215;
|
setlower = 215;
|
setupper = 215;
|
setupper = 215;
|
break;
|
break;
|
case 0330:
|
case 0330:
|
setascii = 88;
|
setascii = 88;
|
setlower = 216;
|
setlower = 216;
|
setupper = 216;
|
setupper = 216;
|
break;
|
break;
|
case 0331:
|
case 0331:
|
setascii = 89;
|
setascii = 89;
|
setlower = 217;
|
setlower = 217;
|
setupper = 217;
|
setupper = 217;
|
break;
|
break;
|
case 0332:
|
case 0332:
|
setascii = 90;
|
setascii = 90;
|
setlower = 218;
|
setlower = 218;
|
setupper = 218;
|
setupper = 218;
|
break;
|
break;
|
case 0333:
|
case 0333:
|
setascii = 91;
|
setascii = 91;
|
setlower = 219;
|
setlower = 219;
|
setupper = 219;
|
setupper = 219;
|
break;
|
break;
|
case 0334:
|
case 0334:
|
setascii = 92;
|
setascii = 92;
|
setlower = 220;
|
setlower = 220;
|
setupper = 220;
|
setupper = 220;
|
break;
|
break;
|
case 0335:
|
case 0335:
|
setascii = 93;
|
setascii = 93;
|
setlower = 221;
|
setlower = 221;
|
setupper = 221;
|
setupper = 221;
|
break;
|
break;
|
case 0336:
|
case 0336:
|
setascii = 94;
|
setascii = 94;
|
setlower = 222;
|
setlower = 222;
|
setupper = 222;
|
setupper = 222;
|
break;
|
break;
|
case 0337:
|
case 0337:
|
setascii = 95;
|
setascii = 95;
|
setlower = 223;
|
setlower = 223;
|
setupper = 223;
|
setupper = 223;
|
break;
|
break;
|
case 0340:
|
case 0340:
|
setascii = 96;
|
setascii = 96;
|
setlower = 224;
|
setlower = 224;
|
setupper = 224;
|
setupper = 224;
|
break;
|
break;
|
case 0341:
|
case 0341:
|
setascii = 97;
|
setascii = 97;
|
setlower = 225;
|
setlower = 225;
|
setupper = 225;
|
setupper = 225;
|
break;
|
break;
|
case 0342:
|
case 0342:
|
setascii = 98;
|
setascii = 98;
|
setlower = 226;
|
setlower = 226;
|
setupper = 226;
|
setupper = 226;
|
break;
|
break;
|
case 0343:
|
case 0343:
|
setascii = 99;
|
setascii = 99;
|
setlower = 227;
|
setlower = 227;
|
setupper = 227;
|
setupper = 227;
|
break;
|
break;
|
case 0344:
|
case 0344:
|
setascii = 100;
|
setascii = 100;
|
setlower = 228;
|
setlower = 228;
|
setupper = 228;
|
setupper = 228;
|
break;
|
break;
|
case 0345:
|
case 0345:
|
setascii = 101;
|
setascii = 101;
|
setlower = 229;
|
setlower = 229;
|
setupper = 229;
|
setupper = 229;
|
break;
|
break;
|
case 0346:
|
case 0346:
|
setascii = 102;
|
setascii = 102;
|
setlower = 230;
|
setlower = 230;
|
setupper = 230;
|
setupper = 230;
|
break;
|
break;
|
case 0347:
|
case 0347:
|
setascii = 103;
|
setascii = 103;
|
setlower = 231;
|
setlower = 231;
|
setupper = 231;
|
setupper = 231;
|
break;
|
break;
|
case 0350:
|
case 0350:
|
setascii = 104;
|
setascii = 104;
|
setlower = 232;
|
setlower = 232;
|
setupper = 232;
|
setupper = 232;
|
break;
|
break;
|
case 0351:
|
case 0351:
|
setascii = 105;
|
setascii = 105;
|
setlower = 233;
|
setlower = 233;
|
setupper = 233;
|
setupper = 233;
|
break;
|
break;
|
case 0352:
|
case 0352:
|
setascii = 106;
|
setascii = 106;
|
setlower = 234;
|
setlower = 234;
|
setupper = 234;
|
setupper = 234;
|
break;
|
break;
|
case 0353:
|
case 0353:
|
setascii = 107;
|
setascii = 107;
|
setlower = 235;
|
setlower = 235;
|
setupper = 235;
|
setupper = 235;
|
break;
|
break;
|
case 0354:
|
case 0354:
|
setascii = 108;
|
setascii = 108;
|
setlower = 236;
|
setlower = 236;
|
setupper = 236;
|
setupper = 236;
|
break;
|
break;
|
case 0355:
|
case 0355:
|
setascii = 109;
|
setascii = 109;
|
setlower = 237;
|
setlower = 237;
|
setupper = 237;
|
setupper = 237;
|
break;
|
break;
|
case 0356:
|
case 0356:
|
setascii = 110;
|
setascii = 110;
|
setlower = 238;
|
setlower = 238;
|
setupper = 238;
|
setupper = 238;
|
break;
|
break;
|
case 0357:
|
case 0357:
|
setascii = 111;
|
setascii = 111;
|
setlower = 239;
|
setlower = 239;
|
setupper = 239;
|
setupper = 239;
|
break;
|
break;
|
case 0360:
|
case 0360:
|
setascii = 112;
|
setascii = 112;
|
setlower = 240;
|
setlower = 240;
|
setupper = 240;
|
setupper = 240;
|
break;
|
break;
|
case 0361:
|
case 0361:
|
setascii = 113;
|
setascii = 113;
|
setlower = 241;
|
setlower = 241;
|
setupper = 241;
|
setupper = 241;
|
break;
|
break;
|
case 0362:
|
case 0362:
|
setascii = 114;
|
setascii = 114;
|
setlower = 242;
|
setlower = 242;
|
setupper = 242;
|
setupper = 242;
|
break;
|
break;
|
case 0363:
|
case 0363:
|
setascii = 115;
|
setascii = 115;
|
setlower = 243;
|
setlower = 243;
|
setupper = 243;
|
setupper = 243;
|
break;
|
break;
|
case 0364:
|
case 0364:
|
setascii = 116;
|
setascii = 116;
|
setlower = 244;
|
setlower = 244;
|
setupper = 244;
|
setupper = 244;
|
break;
|
break;
|
case 0365:
|
case 0365:
|
setascii = 117;
|
setascii = 117;
|
setlower = 245;
|
setlower = 245;
|
setupper = 245;
|
setupper = 245;
|
break;
|
break;
|
case 0366:
|
case 0366:
|
setascii = 118;
|
setascii = 118;
|
setlower = 246;
|
setlower = 246;
|
setupper = 246;
|
setupper = 246;
|
break;
|
break;
|
case 0367:
|
case 0367:
|
setascii = 119;
|
setascii = 119;
|
setlower = 247;
|
setlower = 247;
|
setupper = 247;
|
setupper = 247;
|
break;
|
break;
|
case 0370:
|
case 0370:
|
setascii = 120;
|
setascii = 120;
|
setlower = 248;
|
setlower = 248;
|
setupper = 248;
|
setupper = 248;
|
break;
|
break;
|
case 0371:
|
case 0371:
|
setascii = 121;
|
setascii = 121;
|
setlower = 249;
|
setlower = 249;
|
setupper = 249;
|
setupper = 249;
|
break;
|
break;
|
case 0372:
|
case 0372:
|
setascii = 122;
|
setascii = 122;
|
setlower = 250;
|
setlower = 250;
|
setupper = 250;
|
setupper = 250;
|
break;
|
break;
|
case 0373:
|
case 0373:
|
setascii = 123;
|
setascii = 123;
|
setlower = 251;
|
setlower = 251;
|
setupper = 251;
|
setupper = 251;
|
break;
|
break;
|
case 0374:
|
case 0374:
|
setascii = 124;
|
setascii = 124;
|
setlower = 252;
|
setlower = 252;
|
setupper = 252;
|
setupper = 252;
|
break;
|
break;
|
case 0375:
|
case 0375:
|
setascii = 125;
|
setascii = 125;
|
setlower = 253;
|
setlower = 253;
|
setupper = 253;
|
setupper = 253;
|
break;
|
break;
|
case 0376:
|
case 0376:
|
setascii = 126;
|
setascii = 126;
|
setlower = 254;
|
setlower = 254;
|
setupper = 254;
|
setupper = 254;
|
break;
|
break;
|
case 0377:
|
case 0377:
|
setascii = 127;
|
setascii = 127;
|
setlower = 255;
|
setlower = 255;
|
setupper = 255;
|
setupper = 255;
|
break;
|
break;
|
default:
|
default:
|
abort();
|
abort();
|
|
|
}
|
}
|
|
|
}
|
}
|
|
|
|
|
int _DEFUN(def_isascii,(i), int i) { return isascii(i); }
|
int _DEFUN(def_isascii,(i), int i) { return isascii(i); }
|
int _DEFUN(def_iscntrl,(i), int i) { return iscntrl(i); }
|
int _DEFUN(def_iscntrl,(i), int i) { return iscntrl(i); }
|
int _DEFUN(def_isspace,(i), int i) { return isspace(i); }
|
int _DEFUN(def_isspace,(i), int i) { return isspace(i); }
|
int _DEFUN(def_isprint,(i), int i) { return isprint(i); }
|
int _DEFUN(def_isprint,(i), int i) { return isprint(i); }
|
int _DEFUN(def_isalnum,(i), int i) { return isalnum(i); }
|
int _DEFUN(def_isalnum,(i), int i) { return isalnum(i); }
|
int _DEFUN(def_isdigit,(i), int i) { return isdigit(i); }
|
int _DEFUN(def_isdigit,(i), int i) { return isdigit(i); }
|
int _DEFUN(def_isxdigit,(i), int i) { return isxdigit(i); }
|
int _DEFUN(def_isxdigit,(i), int i) { return isxdigit(i); }
|
int _DEFUN(def_isalpha,(i), int i) { return isalpha(i); }
|
int _DEFUN(def_isalpha,(i), int i) { return isalpha(i); }
|
int _DEFUN(def_isupper,(i), int i) { return isupper(i); }
|
int _DEFUN(def_isupper,(i), int i) { return isupper(i); }
|
int _DEFUN(def_islower,(i), int i) { return islower(i); }
|
int _DEFUN(def_islower,(i), int i) { return islower(i); }
|
int _DEFUN(def_isgraph,(i), int i) { return isgraph(i); }
|
int _DEFUN(def_isgraph,(i), int i) { return isgraph(i); }
|
int _DEFUN(def_ispunct,(i), int i) { return ispunct(i); }
|
int _DEFUN(def_ispunct,(i), int i) { return ispunct(i); }
|
int _DEFUN(def_tolower,(i), int i) { return tolower(i); }
|
int _DEFUN(def_tolower,(i), int i) { return tolower(i); }
|
int _DEFUN(def_toupper,(i), int i) { return toupper(i); }
|
int _DEFUN(def_toupper,(i), int i) { return toupper(i); }
|
int _DEFUN(def_toascii,(i), int i) { return toascii(i); }
|
int _DEFUN(def_toascii,(i), int i) { return toascii(i); }
|
int _DEFUN(def__tolower,(i), int i) { return _tolower(i); }
|
int _DEFUN(def__tolower,(i), int i) { return _tolower(i); }
|
int _DEFUN(def__toupper,(i), int i) { return _toupper(i); }
|
int _DEFUN(def__toupper,(i), int i) { return _toupper(i); }
|
|
|
extern int inacc;
|
extern int inacc;
|
void
|
void
|
_DEFUN(test_is_set,(func, name, p),
|
_DEFUN(test_is_set,(func, name, p),
|
int (*func)() _AND
|
int (*func)() _AND
|
char *name _AND
|
char *name _AND
|
int *p)
|
int *p)
|
{
|
{
|
int i;
|
int i;
|
newfunc(name);
|
newfunc(name);
|
for (i = 0; i < 255; i++) {
|
for (i = 0; i < 255; i++) {
|
int r = func(i) != 0;
|
int r = func(i) != 0;
|
line(i);
|
line(i);
|
test_is_single(i);
|
test_is_single(i);
|
if (*p != r)
|
if (*p != r)
|
{
|
{
|
printf("%s:%d wrong result, is %d shouldbe %d\n", name, i, r,*p);
|
printf("%s:%d wrong result, is %d shouldbe %d\n", name, i, r,*p);
|
inacc++;
|
inacc++;
|
}
|
}
|
}
|
}
|
}
|
}
|
void
|
void
|
_DEFUN(test_to_set,(func, name, p, low, high),
|
_DEFUN(test_to_set,(func, name, p, low, high),
|
int (*func)() _AND
|
int (*func)() _AND
|
char *name _AND
|
char *name _AND
|
int *p _AND
|
int *p _AND
|
int low _AND
|
int low _AND
|
int high)
|
int high)
|
{
|
{
|
int i;
|
int i;
|
newfunc(name);
|
newfunc(name);
|
for (i = low; i <= high; i++) {
|
for (i = low; i <= high; i++) {
|
int r = func(i) ;
|
int r = func(i) ;
|
line(i);
|
line(i);
|
test_is_single(i);
|
test_is_single(i);
|
if (*p != r)
|
if (*p != r)
|
{
|
{
|
printf("%s:%d wrong result, is %d shouldbe %d\n", name, i, r,*p);
|
printf("%s:%d wrong result, is %d shouldbe %d\n", name, i, r,*p);
|
inacc++;
|
inacc++;
|
}
|
}
|
}
|
}
|
}
|
}
|
|
|
|
|
#undef isascii
|
#undef isascii
|
#undef iscntrl
|
#undef iscntrl
|
#undef isspace
|
#undef isspace
|
#undef isprint
|
#undef isprint
|
#undef isalnum
|
#undef isalnum
|
#undef isdigit
|
#undef isdigit
|
#undef isxdigit
|
#undef isxdigit
|
#undef isalpha
|
#undef isalpha
|
#undef isupper
|
#undef isupper
|
#undef islower
|
#undef islower
|
#undef isgraph
|
#undef isgraph
|
#undef ispunct
|
#undef ispunct
|
#undef tolower
|
#undef tolower
|
#undef toupper
|
#undef toupper
|
#undef toascii
|
#undef toascii
|
#undef _tolower
|
#undef _tolower
|
#undef _toupper
|
#undef _toupper
|
|
|
void
|
void
|
_DEFUN_VOID(test_is)
|
_DEFUN_VOID(test_is)
|
{
|
{
|
test_is_set(def_isalnum, "isalnum define", &myalnum);
|
test_is_set(def_isalnum, "isalnum define", &myalnum);
|
test_is_set(def_isalpha, "isalpha define", &myalpha);
|
test_is_set(def_isalpha, "isalpha define", &myalpha);
|
test_is_set(def_isascii, "isascii define", &myascii);
|
test_is_set(def_isascii, "isascii define", &myascii);
|
test_is_set(def_iscntrl, "iscntrl define", &mycntrl);
|
test_is_set(def_iscntrl, "iscntrl define", &mycntrl);
|
test_is_set(def_isdigit, "isdigit define", &mydigit);
|
test_is_set(def_isdigit, "isdigit define", &mydigit);
|
test_is_set(def_isgraph, "isgraph define", &mygraph);
|
test_is_set(def_isgraph, "isgraph define", &mygraph);
|
test_is_set(def_islower, "islower define", &mylower);
|
test_is_set(def_islower, "islower define", &mylower);
|
test_is_set(def_isprint, "isprint define", &myprint);
|
test_is_set(def_isprint, "isprint define", &myprint);
|
test_is_set(def_ispunct, "ispunct define", &mypunct);
|
test_is_set(def_ispunct, "ispunct define", &mypunct);
|
test_is_set(def_isspace, "isspace define", &myspace);
|
test_is_set(def_isspace, "isspace define", &myspace);
|
test_is_set(def_isupper, "isupper define", &myupper);
|
test_is_set(def_isupper, "isupper define", &myupper);
|
test_is_set(def_isxdigit, "isxdigit define", &myxdigit);
|
test_is_set(def_isxdigit, "isxdigit define", &myxdigit);
|
test_is_set(isalnum, "isalnum function", &myalnum);
|
test_is_set(isalnum, "isalnum function", &myalnum);
|
test_is_set(isalpha, "isalpha function", &myalpha);
|
test_is_set(isalpha, "isalpha function", &myalpha);
|
test_is_set(isascii, "isascii function", &myascii);
|
test_is_set(isascii, "isascii function", &myascii);
|
test_is_set(iscntrl, "iscntrl function", &mycntrl);
|
test_is_set(iscntrl, "iscntrl function", &mycntrl);
|
test_is_set(isgraph, "isgraph function", &mygraph);
|
test_is_set(isgraph, "isgraph function", &mygraph);
|
test_is_set(islower, "islower function", &mylower);
|
test_is_set(islower, "islower function", &mylower);
|
test_is_set(isprint, "isprint function", &myprint);
|
test_is_set(isprint, "isprint function", &myprint);
|
test_is_set(ispunct, "ispunct function", &mypunct);
|
test_is_set(ispunct, "ispunct function", &mypunct);
|
test_is_set(isspace, "isspace function", &myspace);
|
test_is_set(isspace, "isspace function", &myspace);
|
test_is_set(isupper, "isupper function", &myupper);
|
test_is_set(isupper, "isupper function", &myupper);
|
test_is_set(isxdigit, "isxdigit function", &myxdigit);
|
test_is_set(isxdigit, "isxdigit function", &myxdigit);
|
test_to_set(_tolower, "_tolower function", &setlower, 'A','Z');
|
test_to_set(_tolower, "_tolower function", &setlower, 'A','Z');
|
test_to_set(_toupper, "_toupper function", &setupper, 'a','z');
|
test_to_set(_toupper, "_toupper function", &setupper, 'a','z');
|
test_to_set(def__tolower, "_tolower define", &setlower, 'A','Z');
|
test_to_set(def__tolower, "_tolower define", &setlower, 'A','Z');
|
test_to_set(def__toupper, "_toupper define", &setupper, 'a','z');
|
test_to_set(def__toupper, "_toupper define", &setupper, 'a','z');
|
test_to_set(def_toascii, "toascii define", &setascii, 0,255);
|
test_to_set(def_toascii, "toascii define", &setascii, 0,255);
|
test_to_set(def_tolower, "tolower define", &setlower, 0,255);
|
test_to_set(def_tolower, "tolower define", &setlower, 0,255);
|
test_to_set(def_toupper, "toupper define", &setupper, 0,255);
|
test_to_set(def_toupper, "toupper define", &setupper, 0,255);
|
test_to_set(toascii, "toascii function", &setascii, 0,255);
|
test_to_set(toascii, "toascii function", &setascii, 0,255);
|
test_to_set(tolower, "tolower function", &setlower, 0,255);
|
test_to_set(tolower, "tolower function", &setlower, 0,255);
|
test_to_set(toupper, "toupper function", &setupper, 0,255);
|
test_to_set(toupper, "toupper function", &setupper, 0,255);
|
}
|
}
|
|
|