Ternary operator problem
#3

Quote:
Originally Posted by Jeffry
View Post
pawn Code:
if((Day < 21) ? SetWeather(WinterWeather[winterrand]) : SetWeather(SpringWeather[springrand])){}
i get a warning with empty statement
Reply


Messages In This Thread
Ternary operator problem - by Speed++ - 28.03.2013, 18:08
Re: Ternary operator problem - by Jeffry - 28.03.2013, 18:12
Re: Ternary operator problem - by Speed++ - 28.03.2013, 18:14
Re: Ternary operator problem - by Finn - 28.03.2013, 18:19
Re: Ternary operator problem - by Jeffry - 28.03.2013, 18:21
Re: Ternary operator problem - by Pottus - 28.03.2013, 18:49

Forum Jump:


Users browsing this thread: 1 Guest(s)