Difference between 'Loop' & 'While'
#5

Quote:
Originally Posted by Vince
Посмотреть сообщение
There is no such thing as a 'loop' keyword in Pawn.

for is used when you know how many iterations you want to do; while is used when you don't know.
While loops are typically used for reading data from a resource, such as files or SQL, since these resources can return an arbitrary amount of data.
Thanks for sharing these Valuable information.
Much appreciated.
Reply


Messages In This Thread
Difference between 'Loop' & 'While' - by [D]ry[D]esert - 08.08.2013, 13:43
Re: Difference between 'Loop' & 'While' - by Black Wolf - 08.08.2013, 13:50
Re: Difference between 'Loop' & 'While' - by [D]ry[D]esert - 08.08.2013, 13:56
Re: Difference between 'Loop' & 'While' - by Vince - 08.08.2013, 13:56
Re: Difference between 'Loop' & 'While' - by [D]ry[D]esert - 08.08.2013, 14:01
Re: Difference between 'Loop' & 'While' - by [D]ry[D]esert - 09.08.2013, 02:18

Forum Jump:


Users browsing this thread: 1 Guest(s)