Тема: AHK: Записать побитово выражение
Объясните, как записать и высчитать это выражение:
The STATUS is a bitwise value, which is obtained by adding up the different values for corresponding statuses:
1 = Started
2 = Checking
4 = Start after check
8 = Checked
16 = Error
32 = Paused
64 = Queued
128 = Loaded
For example, if a torrent job has a status of 201 = 128 + 64 + 8 + 1, then it is loaded, queued, checked, and started.
A bitwise AND operator should be used to determine whether the given STATUS contains a particular status.