Vote UpVote

The Exit Procedure

TMS Software Blog – All Pascal programmers know the Exit() procedure since the early versions of the compilers. But do they know how to use it correctly? The Exit() procedure is used when we want to exit of running scope. That scope could be a function, procedure, method, or even the program itself. Let's say that a console program calls a procedure named Execute: procedure Execute; begin Writeln('1. Passing on this line...'); Exit; Writeln('2. It will not pass here'); end; In the example above, only the information from the first Writeln will be shown on the ...
Favorite? Off-Topic? 2018-02-14 16:05


Visits: 75
Votes: 3
Favorites: 0
Off-Topic: 0

Visits by Source

User Actions

Users who voted for this posting

Alister Christie
Contact us to advertise on DelphiFeeds.com

Community Links

Torry Firebird News


Please login or register to use this functionality.
(click on this box to dismiss)