Crash
#4

You cannot call functions while declaring global variables.

This code won't work:
Код:
new global_var = random(255);
main()
{

}
Correct Way
Код:
new global_var;
main()
{
    global_var = random(255);
}
But you can call functions while declaring local variables.This code will work:
Код:
main()
{
    new global_var = random(255);
}
Reply


Messages In This Thread
Crash - by kalanerik99 - 30.05.2015, 15:26
Re: Crash - by FplayerGR - 30.05.2015, 15:28
Re: Crash - by kalanerik99 - 30.05.2015, 15:33
Re: Crash - by Yashas - 30.05.2015, 16:19
Re: Crash - by kalanerik99 - 30.05.2015, 16:38
Re: Crash - by Yashas - 30.05.2015, 16:44
Re: Crash - by kalanerik99 - 30.05.2015, 16:45

Forum Jump:


Users browsing this thread: 1 Guest(s)