14.11.2012, 13:12
I have an swith with different 'cases'. I defined some variables under one case and if i define same variables under another case it say 'symbol already defined' for some of theese variables.
I get error for:
Because theese variables are defined under another case but i don't get any error for:
Can someone explain me why?
Код:
new string[128], banned, resultline[512], BanTime, Name[24], BanIP[24]; new BanBy[24], BanReason[24], BanDate[24], BanExpire[24], BanCode[24], time[6][24]; new y,m,d,y2,m2,d2; new h,mi,s,h2,mi2,s2;
Код:
new string[128], banned, resultline[512], BanTime, Name[24], BanIP[24]; new BanBy[24], BanReason[24], BanDate[24], BanExpire[24], BanCode[24], time[6][24];
Код:
new y,m,d,y2,m2,d2; new h,mi,s,h2,mi2,s2;