<<= 1 Mean
#5

It's a bit shift.

If you have a binary number, eg 0b0101 it will become 0b1010 (all bits are shifted 1 position to the left).

What it does in this case is shift every entries' value 1 to the left per item in the enumerator.

The first one will be 1 (0b1), the second will be 0b10, the third 0b100, etc.
It lets you make a list of flags without having to manually assign a value to each one, it will build the order automatically.
Reply


Messages In This Thread
<<= 1 Mean - by cengiz6155 - 06.03.2019, 16:57
Re: <<= 1 Mean - by Rafaly - 06.03.2019, 16:58
Re: <<= 1 Mean - by cengiz6155 - 06.03.2019, 16:59
Re: <<= 1 Mean - by cengiz6155 - 06.03.2019, 17:02
Re: <<= 1 Mean - by NaS - 06.03.2019, 17:38
Re: <<= 1 Mean - by cengiz6155 - 06.03.2019, 17:39
Re: <<= 1 Mean - by IllidanS4 - 06.03.2019, 18:04
Re: <<= 1 Mean - by cengiz6155 - 06.03.2019, 18:16
Re: <<= 1 Mean - by v1k1nG - 06.03.2019, 22:47

Forum Jump:


Users browsing this thread: 4 Guest(s)