Page 1 of 1

Monadische Scriptoperatoren

Posted: 22 Oct 2014 12:59
by Bushmills
foo++;
++foo;
foo*=10;
foo|=15; // foo=foo|15 bitwise OR
foo^=7; // foo=foo^7 bitwise AND
foo<<=3; // foo=foo<<3
foo>>=3;
...
Noticing that there are no bitwise and, or, xor,
I'd suggest to add those too, in both their
monadic and duadic form.

Re: Monadische Scriptoperatoren

Posted: 20 Feb 2018 01:12
by canadaDry
2nd this request. Bitwise AND, OR, XOR and shift <</>> would be useful.

For the time being looks like I have to do the math in a loop to achieve this.

Re: Monadische Scriptoperatoren

Posted: 27 Nov 2019 03:23
by jassing
canadaDry wrote:
20 Feb 2018 01:12
2nd this request. Bitwise AND, OR, XOR and shift <</>> would be useful.

For the time being looks like I have to do the math in a loop to achieve this.
I could use this too...