Курсовая работа: Ассемблер и программирование
outtextxy(20,380,"Exit");
ki=1; x1=14; y1=95; x2=250; y2=115;
rectangle(x1,y1,x2,y2);
sled:
key=bioskey(0);
switch(key)
{
case 18432:{setcolor(15);
rectangle(x1,y1,x2,y2);
if (y1==95) {y1=375;y2=395; ki=9;}
else {y1=y1-35; y2=y2-35; ki--;}
setcolor(RED);
rectangle(x1,y1,x2,y2);
break; }
case 20480:
{setcolor(15);
rectangle(x1,y1,x2,y2);
if (y1==375) {y1=95;y2=115; ki=1;}
else {y1=y1+35; y2=y2+35; ki++;}
setcolor(RED);
rectangle(x1,y1,x2,y2);
break; }
case 7181: switch(ki)
{ case 1: spawnl(P_WAIT, "1.EXE", NULL); break;
case 2: spawnl(P_WAIT, "2.EXE", NULL); break;
case 3: spawnl(P_WAIT, "3.EXE", NULL); break;
case 4: spawnl(P_WAIT, "4.EXE", NULL); break;
case 5: spawnl(P_WAIT, "5.EXE", NULL); break;
case 6: spawnl(P_WAIT, "6.EXE", NULL); break;