OK heres what i dont get..
unit Console;
interface
uses CRT,SysUtils,Windows,Dos,Classes;
const
ERROR1 = 'File Not Found!';
ERROR2 = 'Unkown Error!';
var
Command : String;
implementation
Procedure HELP;
BEGIN
writeln('EXIT, Close the Program');
writeln('[OPEN]MENU, Go to the Main menu');
END;
BEGIN
ClrScr;
GotoXY(30,30);
writeln('Xhydriks Version 0.00');
writeln('By Adam N.Andujar');
Repeat
writeln('Awaiting Command..');
readln(Command);
until(Command = 'EXIT');
END.
program Xhydriks;
uses CRT,Console;
var
sel : string;
BEGIN
writeln('Welcome!');
writeln('1. Console');
writeln('2. Exit');
Repeat
sel := Readkey;
if sel = '1' then Console
else writeln('ERROR!, only input listed chars');
Until(sel = '2');
END.
it say identifier expected bu else found when i try to compile the xhydriks