Given a number as argument, returns the value of this number with its Nth bit set, right to left
Implemented by: Gambas
With variations:
Also written as:
This function sets to 1 the Nth bit of a given number, counted from 0, right to left, and returns the new value.
NewVal = (13, 2)