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
Pinch
Offline

Burgershot Member
Posts: 391
Threads: 19
Joined: Apr 2019
Reputation: 22
Location: Belgrade, Serbia
#2
2021-01-18, 06:10 PM
The YSI readme files in the y foreach folder.
Using Pawn.CMD?
If you're doing so, this is the very first sign that you absolutely shouldn't utilize your all powerful P-Code knowledge in any of the scripting discussion topics.
LinesinRows
Offline

Burgershot Member
Posts: 13
Threads: 4
Joined: Feb 2020
Reputation: 0
Location: Turkey
#3
2021-01-20, 01:42 PM (This post was last modified: 2021-01-20, 01:53 PM by LinesinRows.)
(2021-01-18, 06:10 PM)Pinch Wrote: The YSI readme files in the y foreach folder.
https://github.com/pawn-lang/YSI-Includes/blob/5.x/YSI_Data/y_foreach/quick-start.md
https://github.com/pawn-lang/YSI-Includes/blob/5.x/YSI_Data/y_foreach/api.md
Thanks.
« Next Oldest | Next Newest »



  • 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