delphi5+crt function
I am learning programing in pascal using delphi5 enterprise in win2k and I don''t know what''s wrong with this "crt". The program is here:
---------------------------------------
program vnasanje;
{$APPTYPE CONSOLE}
uses
SysUtils;
crt;
var
starost: real;
begin
TextColor(14);
writeln(''Kok si star'');
readln(starost);
Writeln(''Ti si '',starost:3:1,'' let star'');
readln;
end.
-----------------------------------------
There is a error at first "crt" which is something about:"declaration expected but identifier ''crt'' found."
This program is for "command prompt".
Thnx for your answers.
Reso
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement