what what does it means,, im still learning my pawn skill
#7

Quote:
Originally Posted by ******
Посмотреть сообщение
Plus that answer is wrong as "==" checks if two things are equal, just one "=" is assignment, i.e. "save this value (right hand) in this variable (left hand)".

For everything except "==" and "!=" the "a X= b", where "X" is a symbol, is shorthand for "a = a X b", so:

pawn Код:
a += b; // a = a + b
a *= b; // a = a * b
a <<= b; // a = a << b
etc.
And what does this
Код:
a <<= b; // a = a << b
means? < means LESS THAN, but << ?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)