In Dev-c++, there is a command 'system("PAUSE")'. What's the equivalent in Dev-Pascal? Thank you.

I added "readln;" in the row prior to "END", however, it still does not work, what to do!!?? All I want to do is to pause the cmd so I could see. Anyone could help me?

A readln should do roughly the same (without a message of course) but, if thats not working it would imply its not reaching the end..

invoking a system shell for pause is generally a frowned on answer, but I would expect it to be shellexecute

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.