Here is the code:
for tact in 0...Int(tacts) { if tact != 1 || tact != 3 { print(tact) } }
As a result, prints all the bars and 0 and 1 and 2 and 3 and 4, etc. Does anyone know why?)
Source: https://ru.stackoverflow.com/questions/635711/
All Articles