do-while vs. goto?
#4

They are not alike at all really. pawn-lang.pdf is a GREAT resource!
Quote:

goto label
Moves program control (unconditionally) to the statement that follows
the specified label. The label must be within the same function
as the goto statement (a goto statement cannot jump out of a function).

Quote:

do statement while ( expression )
Executes a statement before the condition part (the while clause) is
evaluated. The statement is repeated while the condition is logically
“true”. The statement is at least executed once.

Reply


Messages In This Thread
do-while vs. goto? - by [XST]O_x - 12.04.2013, 19:24
Re: do-while vs. goto? - by Bakr - 12.04.2013, 19:44
Re: do-while vs. goto? - by [XST]O_x - 12.04.2013, 19:49
Re: do-while vs. goto? - by Bakr - 12.04.2013, 20:03
Re: do-while vs. goto? - by [XST]O_x - 12.04.2013, 20:15
Re: do-while vs. goto? - by Bakr - 12.04.2013, 20:26
Re: do-while vs. goto? - by AndreT - 12.04.2013, 20:35
Re: do-while vs. goto? - by [XST]O_x - 12.04.2013, 20:48
Re: do-while vs. goto? - by AndreT - 12.04.2013, 21:05
Re: do-while vs. goto? - by [XST]O_x - 12.04.2013, 21:12

Forum Jump:


Users browsing this thread: 2 Guest(s)