iv seen the line 'halt' in some pascal programs after readkey or readln. what does halt do exactly?
killhha
0
Light Poster
Recommended Answers
Jump to Post'Halt ' command = exit the main program :)
Jump to PostHalt = stop the main program
Exit = just going out from a block,if the main program is the only one block then 'exit' will accomplish the main program.
All 5 Replies
FlamingClaw
98
Posting Pro
killhha
0
Light Poster
FlamingClaw
98
Posting Pro
m610
0
Light Poster
Turtle85
0
Newbie Poster
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.