
01-10-2002, 08:57 AM
|
|
Banned
|
 |
Join Date: Oct 2001
Posts: 1,177
|
|
|
GScript is not c++, in c++, using == and = are two different things, in graal, they are exactly the same thing
for example
if (j=4) {
iam***(6);
}
in c++ would always run, because the "=" sets j to 4 and returns true, but
if (j==4) {
iam***(6);
}
would only run if j is 4, because it checks for equality and returns true if it is equal, and false if not.
but in graal
if (j=4) and if (j==4) are the exact same thing.
also in graal, you cannot do things like
if (j++<3), because you can't do setting in the "if" block |
|
|
|