Think Pascal commands

I need some help with think pascal 4.5D4 for the Macintosh. How do you read keypresses into a variable(readkey doesn't work)? What is the command for end of line when reading files(EOL doesn't work)? And how do you clear the screen (clrscr doesn't work)? Please help me!


Comments

  • I am not familiar with that version of Pascal, but a hint would be to add the crt unit like this:



    uses crt;



    before the main program.

    readkey, keypressed and clrscr is defined in the crt unit crt.



    Since you are using a mac it might be called maccrt or something similar but I don't know.



    Thomas is not sure he is helping here, but he hopes so.



    : I need some help with think pascal 4.5D4 for the Macintosh. How do you read keypresses into a variable(readkey doesn't work)? What is the command for end of line when reading files(EOL doesn't work)? And how do you clear the screen (clrscr doesn't work)? Please help me!

    :






Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories