• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Pawn] [SOLVED] What is the function, for (increment )? and where did it come from?
#1
SOLUTION??by?AbyssMorgan :

Code:
Pawn have only for, while and do while loops.

foreach is function maked by developers in foreach.inc standalone y_foreach aka y_iterate or FoxForeach.inc



for example:

Code:

for(new i = 0; i < 10; i)



for(new i = 0; i < 10; i = 2)



for(new i = 0, j = strlen(stringvar); i < j; i)



What is the function, for (increment )? and where did it come from? is that function?from include?



at first I thought the function, "for" was made by foreach include. I was wrong, is this the default function of the pawn language? Can you explain why the language in "for" is different in general? and is it really different for the "for" and "foreach" functions?
  Reply


Messages In This Thread
[SOLVED] What is the function, for (increment )? and where did it come from? - by PutuSuhartawan - 2021-05-07, 02:13 AM

Forum Jump: