Newbie in search of help - Programmers Heaven

Howdy, Stranger!

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

Categories

Newbie in search of help

ambersbetambersbet Posts: 1Member
Hello,

I'm a 100% newbie and I am making a few pascal programs, however when I complie the programs they never stay on the screen. Just stay on the screen for 1 second and then off when they are compiled. Can anyone tell me of a string where I could have a "Pause" so I see what is on the screen and it doesnt go off the screen??????

Thanks all! :)

Comments

  • AtexAtex Posts: 268Member
    : I'm a 100% newbie and I am making a few pascal programs, however
    : when I complie the programs they never stay on the screen. Just
    : stay on the screen for 1 second and then off when they are compiled.
    : Can anyone tell me of a string where I could have a "Pause" so I
    : see what is on the screen and it doesnt go off the screen??????
    :

    Try to put a [b]readln[/b] as the last statement in your program, like:[code][color=Blue]begin
    {your code here}
    readln; { <-- This will pause your program
Sign In or Register to comment.