undefined symbol "foreach" - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: undefined symbol "foreach" (
/showthread.php?tid=541583)
undefined symbol "foreach" -
Rosetown - 12.10.2014
Quote:
C:\Users\zeusp_000\Desktop\test\gamemodes\roleplay .pwn(2242) : error 017: undefined symbol "foreach"
C:\Users\zeusp_000\Desktop\test\gamemodes\roleplay .pwn(2242) : error 029: invalid expression, assumed zero
C:\Users\zeusp_000\Desktop\test\gamemodes\roleplay .pwn(2242) : error 017: undefined symbol "i"
C:\Users\zeusp_000\Desktop\test\gamemodes\roleplay .pwn(2242) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
|
Help?
Re : undefined symbol "foreach" -
S4t3K - 12.10.2014
Have you just included y_iterate ?
Re: undefined symbol "foreach" -
Rosetown - 12.10.2014
No, I havent included y_iterate
Re: undefined symbol "foreach" -
Abagail - 12.10.2014
Are you sure you've included foreach? It seems like you just plain-out forgot to include it, or you copy and pasted.
Re: undefined symbol "foreach" -
Rosetown - 12.10.2014
I have included foreach.
Re: undefined symbol "foreach" -
Berzerk - 12.10.2014
Do you have the latest version of foreach?
AW: undefined symbol "foreach" -
Mellnik - 12.10.2014
The old foreach include is outdated. Use y_iterate from YSI 3.1.