Function for setting a bit in a natural number
The function Incl sets a specific bit in a natural number.
In the first parameter is the argument that should be changed. It can be a natural number, a list or a table. For data fields, the number of each element is operated and the results are returned in a data field of the same size.
The second argument contains the number of the bit to be set.
Incl (arg, bit)
Incl (arg, bit)
Incl (arg, bit)
Incl (8, 3) = 12
If the first argument is a list or table, the bit is set in each element of the list or table.
Incl([5,6,7],4)= 13 14 15