Burgershot
  • Home
  • Members
  • Team
  • Help
  • Search
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search
Burgershot SA-MP Support [Server] About Iterator & Foreach

 
  • 0 Vote(s) - 0 Average
Server About Iterator & Foreach
LinesinRows
Offline

Burgershot Member
Posts: 13
Threads: 4
Joined: Feb 2020
Reputation: 0
Location: Turkey
#1
2021-01-18, 02:35 PM
Hello, I had looked this forum but i can't found any tutorial / usage. Is there any comprehensive tutorial for iterator? 

Like this;

PHP Code:
new Iterator:Test<10>;

Iter_Add(Test, 1);
Iter_Add(Test, 2);
Iter_Add(Test, 3);

foreach (new 
i : Test) 
{
   printf("%d", i);
} 

https://github.com/karimcambridge/samp-foreach/blob/master/foreach.inc
« Next Oldest | Next Newest »



Messages In This Thread
About Iterator & Foreach - by LinesinRows - 2021-01-18, 02:35 PM
RE: About Iterator & Foreach - by Pinch - 2021-01-18, 06:10 PM
RE: About Iterator & Foreach - by LinesinRows - 2021-01-20, 01:42 PM

  • View a Printable Version
  • Subscribe to this thread
Forum Jump:

© Burgershot - Powered by our Community and MyBB Original Theme by Emerald

Linear Mode
Threaded Mode