Advertisement

delphi5+crt function

Started by September 30, 2000 01:19 AM
1 comment, last by Reso 24 years, 3 months ago
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
Maybe try putting a comma after SysUtils instead of a semicolon...
Advertisement
It still doesn''t work. I think that there is a differente name for "command prompt" in windows.
Reso

This topic is closed to new replies.

Advertisement