Array value setting
#1

PHP код:
enum RndEnum{
       
val,
       
val1
};
new 
RndArr[100][RndEnum]; 
How to set all 'val' values to -1, without looping through. for(new i; i < 100; i++)RndArr[i][val]=-1;
Reply


Messages In This Thread
Array value setting - by CodeStyle175 - 20.07.2017, 10:12
Re: Array value setting - by DuyDang2412 - 20.07.2017, 11:06
Re: Array value setting - by Freedom. - 20.07.2017, 11:26
Re: Array value setting - by CodeStyle175 - 20.07.2017, 11:29
Re: Array value setting - by BroZeus - 20.07.2017, 13:36
Re: Array value setting - by Misiur - 20.07.2017, 16:39

Forum Jump:


Users browsing this thread: 1 Guest(s)