ok i dont really know how to explain this but...
c:=readkey;
case (c) of
#13:Halt;
#27:goto menu else goto quit;
as you can see above if you press Esc(which is 13) the program quits and if you press Enter(which is 27) it gos to the menu. I want to know if theres a list somewhere which tells me the number for each keyboard number. does anyone know where i can find 1?