Page 1 of 1

Answer quickly! (unknown binhconst problem)

PostPosted: Mon Feb 19, 2007 11:37 am
by Troodon
Hi,
What's wrong with these lines of my code?
Code: Select all
if (ReactorTemp >= 150 && <= 200)  //it says that this has unknown binhost
{
    ChangeAnimation("LED_reactor", "LED_VI~1", FORWARD);
    Virta = 1;
}

PostPosted: Mon Feb 19, 2007 11:44 am
by Joshua Worth
you mean binhconst

PostPosted: Mon Feb 19, 2007 11:47 am
by Joshua Worth
if (ReactorTemp >= 150 && ReactorTemp <= 200)

you must say the variable again after and(&&)

PostPosted: Mon Feb 19, 2007 11:47 am
by Troodon
Yeah! You know what's wrong with the code?

PostPosted: Mon Feb 19, 2007 11:48 am
by Troodon
Oh thanks!!!! You saved my day! :D :D :D :D

PostPosted: Mon Feb 19, 2007 11:49 am
by Joshua Worth
No problem! :D