Question about symbols
#3

Quote:
Originally Posted by Gamer`
Посмотреть сообщение
- What the symbols _: does ?
_: defines a custom tag without giving any error, example:

pawn Код:
new Text3D:asd;
printf("%d", asd); // Will give errors.
printf("%d", _:asd); // Will not give errors.
Quote:
Originally Posted by Gamer`
Посмотреть сообщение
- what the difference between > and >> or >>>
Bit operators.

Quote:
Originally Posted by Gamer`
Посмотреть сообщение
- What the symbols |= does ?
Binary.

Quote:
Originally Posted by Gamer`
Посмотреть сообщение
- what the symbol ~ does ?
Binary.

Quote:
Originally Posted by Gamer`
Посмотреть сообщение
- I saw that someone is using barackets without a function before it,for example: (parts from rBits)
pawn Код:
return ((_: abArray[iIdx] >>> bVar) & bLim);
    if(!(-1 < iIdx < iSize)) {
    (_: abArray[iIdx] &= ~(bLim << bVar));
    (_: abArray[iIdx] |= ((bLim & iValue) << bVar));
    new
        bVar = ((iIdx & ((1 << _: (Bit32 - iShift)) - 1)) << _: iShift),
        bLim = ((1 << (1 << _: iShift)) - 1)
        ;
How does it compile without errors or warnings ?
You can always use functions inside brackets, example:

pawn Код:
GivePlayerMoney(playerid, (500));
Reply


Messages In This Thread
Question about symbols - by Gamer` - 26.09.2012, 20:52
Re: Question about symbols - by Roko_foko - 26.09.2012, 20:57
Re: Question about symbols - by Emmet_ - 26.09.2012, 20:59
Re: Question about symbols - by Gamer` - 26.09.2012, 21:30
Re: Question about symbols - by OnlyOne - 26.09.2012, 21:37

Forum Jump:


Users browsing this thread: 1 Guest(s)