|
Break,Goto,label,...
|
|
12-23-2009, 08:53 PM
Post: #1
|
|||
|
|||
|
Hi guys,Please help me
!I'm in the middle of a program,i want to know how can i return to previous loop that i want,for example:Code: Program 33333;P.S:I have read goto , break, label ,... instructions in Pascal's help but there was no advancement. Thanks Gholamreza Takhti who was he? find out |
|||
|
12-24-2009, 02:56 AM
(This post was last modified: 12-24-2009 03:10 AM by drdebcol.)
Post: #2
|
|||
|
|||
|
RE: Break,Goto,label,...
I think that you need to go stop k loop, and that is by using "exit" command. So
the code should look like : Code: if condition thenYou first declare label : Code: varand after condition, you just call it with go to : Code: if condition then"I dont know with what weapons World War 3 will be fought with, but i know World War 4 will be fought with stones and sticks" - Albert Einstein |
|||
|
12-24-2009, 06:03 AM
Post: #3
|
|||
|
|||
RE: Break,Goto,label,...
(12-24-2009 02:56 AM)drdebcol Wrote: I think that you need to go stop k loop, and that is by using "exit" command. SoThanks
Gholamreza Takhti who was he? find out |
|||
|
« Next Oldest | Next Newest »
|



!I'm in the middle of a program,i want to know how can i return to previous loop that i want,for example:

