22.05.2015, 23:04
Hi, i'am trying to use YSI iterate and i got some errors
this is my code
Thank's for advance.
PHP код:
./scripts/Black_DefVar.pwn(129) : error 001: expected token: ";", but found "::"
./scripts/Black_Func.pwn(448) : error 017: undefined symbol "BusinessIter@YSII_Ag"
./scripts/Black_Func.pwn(448) : error 017: undefined symbol "BusinessIter@YSII_Ag"
./scripts/Black_Func.pwn(448) : error 029: invalid expression, assumed zero
./scripts/Black_Func.pwn(448) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
PHP код:
new iterator: BusinessIter<MAX_BUSINESS>; // This is line 129 from Black_DefVar.pwn
PHP код:
stock Business_close()
{
foreach(new i : BusinessIter) // THIS IS THE LINE 448 form Black_Func.pwn
{
SaveBusiness(i);
}
return 1;
}