#if directive problem
#2

Didn't you ask a similar question just a few days ago? The compiler cannot calculate the values of fX and fY because they are runtime variables. They are initialized only when the script is run. I recommend you use assert(); this evaluates the expression at runtime and will exit the server with runtime error 1 if the expression evaluates to false.
Reply


Messages In This Thread
#if directive problem - by RajatPawar - 13.03.2013, 08:10
Re: #if directive problem - by Vince - 13.03.2013, 08:18
Re: #if directive problem - by RajatPawar - 13.03.2013, 08:36
Re: #if directive problem - by Vince - 13.03.2013, 09:58
Re: #if directive problem - by RajatPawar - 13.03.2013, 13:15
Re: #if directive problem - by LarzI - 13.03.2013, 13:19
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:15
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:24
Re: #if directive problem - by RajatPawar - 13.03.2013, 14:33

Forum Jump:


Users browsing this thread: 2 Guest(s)