Create an array and insert values cumulatively
#1

Is it somehow possible to make the compiler count cumulatively? Example:

pawn Код:
new DaysCumulatively[365] =
{
    86400, ... // 86400 is one day, and from then it should count +86400 each time. So the second should be 172800, the third one 259200, etc...
};
Reply


Messages In This Thread
Create an array and insert values cumulatively - by Jochemd - 06.04.2013, 13:35
Re: Create an array and insert values cumulatively - by iJumbo - 06.04.2013, 13:38
Re: Create an array and insert values cumulatively - by Jochemd - 06.04.2013, 13:41
Re: Create an array and insert values cumulatively - by MP2 - 06.04.2013, 13:42

Forum Jump:


Users browsing this thread: 1 Guest(s)