Originally posted by Faheria_GP2 if (j=4) {
iam***(6);
}
in c++ would always run, because the "=" sets j to 4 and returns true
Right, but not for the right reasons, 'j=4' returns whatever was assigned, so it returns a '4', not a 'TRUE', but I supposed it doesn't really matter, since any nonzero is considered true in a condition
__________________
One by one, the penguins steal my sanity.
Originally posted by Loriel For checking stuff, just always use ==... and for setting stuff, just use =...
For that not-so-much working while-loop, it should be in an event...
Thats what I said, genius, if you read my last post. It needs something to start the loop again...but this should work like C++...I will post on future improvements
__________________
This account is no longer is use.