08.08.2013, 13:56
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.
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.