Mombu the Programming Forum sponsored links

Go Back   Mombu the Programming Forum > Programming > Programming languages > Another method for exit
User Name
Password
REGISTER NOW! Mark Forums Read

sponsored links


Reply
 
1 19th October 01:55
northeus
External User
 
Posts: 1
Default Another method for exit


Hi !

How works the boolean exit variable ? Please give an example. Or
simply post the working sourcce code. Many thx for any help.

Greetings to all Pascal Programmers
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
  Reply With Quote


  sponsored links


2 19th October 01:56
scott moore
External User
 
Posts: 1
Default Another method for exit


What Pascal dielect are you using ? There is no "exit variable"
in standard Pascal.
  Reply With Quote
3 19th October 01:56
il razziatore
External User
 
Posts: 1
Default Another method for exit


I supose you mean something like this { aka know main loop }:

{program initialization}
exit := false;
....
repeat
{ program main loop }
...
until exit;
{ program finalization }
....

when the exit became true you exit the repeat/until loop and the
program. There is a version with while.

--
Il Razziatore,
The Only Good Windows is an uninstalled Windows
-----------------------------------------------
MSN : IlRazziatore@netscape.net
ICQ : 67552596
Yhaoo : Razziatore82
-----------------------------------------------
Founder of MediaPlayer Project
http://mpp.iwebland.com
  Reply With Quote
4 27th October 07:20
northeus
External User
 
Posts: 1
Default Another method for exit


Hi !

How works the boolean exit variable ? Please give an example. Or
simply post the working sourcce code. Many thx for any help.

Greetings to all Pascal Programmers
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
  Reply With Quote
5 27th October 07:21
scott moore
External User
 
Posts: 1
Default Another method for exit


What Pascal dielect are you using ? There is no "exit variable"
in standard Pascal.
  Reply With Quote
6 27th October 07:22
il razziatore
External User
 
Posts: 1
Default Another method for exit


I supose you mean something like this { aka know main loop }:

{program initialization}
exit := false;
....
repeat
{ program main loop }
...
until exit;
{ program finalization }
....

when the exit became true you exit the repeat/until loop and the
program. There is a version with while.

--
Il Razziatore,
The Only Good Windows is an uninstalled Windows
-----------------------------------------------
MSN : IlRazziatore@netscape.net
ICQ : 67552596
Yhaoo : Razziatore82
-----------------------------------------------
Founder of MediaPlayer Project
http://mpp.iwebland.com
  Reply With Quote
7 14th March 03:26
northeus
External User
 
Posts: 1
Default Another method for exit?


Hi !

How works the boolean exit variable ? Please give an example. Or
simply post the working sourcce code. Many thx for any help.

Greetings to all Pascal Programmers
--
* Posted with NewsLeecher v3.0 Beta 7
* http://www.newsleecher.com/?usenet
  Reply With Quote
8 14th March 03:26
scott moore
External User
 
Posts: 1
Default Another method for exit?


What Pascal dielect are you using ? There is no "exit variable"
in standard Pascal.
  Reply With Quote
9 14th March 03:26
il razziatore
External User
 
Posts: 1
Default Another method for exit?


I supose you mean something like this { aka know main loop }:

{program initialization}
exit := false;
....
repeat
{ program main loop }
...
until exit;
{ program finalization }
....

when the exit became true you exit the repeat/until loop and the
program. There is a version with while.

--
Il Razziatore,
The Only Good Windows is an uninstalled Windows
-----------------------------------------------
MSN : IlRazziatore@netscape.net
ICQ : 67552596
Yhaoo : Razziatore82
-----------------------------------------------
Founder of MediaPlayer Project
http://mpp.iwebland.com
  Reply With Quote


  sponsored links


Reply


Thread Tools
Display Modes




Copyright 2006 SmartyDevil.com - Dies Mies Jeschet Boenedoesef Douvema Enitemaus -
666