SA-MP Forums Operators: <<= and >>=
 New Account Members List Search Today's Posts Mark Forums Read

 16/06/2010, 06:18 PM #1 Vince Godfather     Join Date: Sep 2007 Location: Belgium Posts: 9,504 Reputation: 2244 Operators: <<= and >>= Hi I was reading this page: http://wiki.sa-mp.com/wiki/Keywords:Initialisers when I came across some symbols that I haven't used yet: Symbols like <<= and >>>= etc. What are they called, what do they do and what are they useful for? Couldn't find anything about it. I hope someone can explain it. __________________ [Tutorial] Database normalization: Part 1 - Part 2 - Part 3
 16/06/2010, 06:20 PM #2 (SF)Noobanatior Gangsta   Join Date: Dec 2006 Posts: 566 Reputation: 2 Re: Operators: <<= and >>= *= v *= e multiplies v with e /= v /= e divides v by e. %= v %= e assigns the remainder of the division of v by e to v. >>= v >>= e shifts v arithmetically to the right by e bits. >>>= v >>>= e shifts v logically to the right by e bits. <<= v <<= e shifts v to the left by e bits. &= v &= e applies a bitwise “and” to v and e and assigns the result to v. |= v |= e applies a bitwise “or” to v and e and assigns the result to v. ^= v ^= e applies a bitwise “exclusive or” to v and e and assigns the result to v.

 Thread Tools Display Modes Linear Mode

 Posting Rules You may not post new threads You may not post replies You may not post attachments You may not edit your posts BB code is On Smilies are On [IMG] code is On HTML code is Off Forum Rules

 Similar Threads Thread Thread Starter Forum Replies Last Post [Marevin*] Help Archive 8 06/11/2009 02:00 PM ғαιιοцт Help Archive 19 27/02/2009 03:50 PM

All times are GMT. The time now is 04:17 PM.

 -- (EN) English -- (ES) Español -- (RU) Русски Contact Us - SA-MP - Archive - Top