Monadische Scriptoperatoren

Post your feature requets for new triggers, conditions, actions and other improvements.

Moderator: Martin

Locked
User avatar
Bushmills
Posts: 286
Joined: 23 Sep 2014 21:56

Monadische Scriptoperatoren

Post by Bushmills » 22 Oct 2014 12:59

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.

canadaDry
Posts: 33
Joined: 09 Feb 2018 18:38

Re: Monadische Scriptoperatoren

Post by canadaDry » 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.

User avatar
jassing
Posts: 94
Joined: 16 Jul 2017 01:42
Location: SF Bay Area

Re: Monadische Scriptoperatoren

Post by jassing » 27 Nov 2019 03:23

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...

Locked