This function translates a bit to OFF (0) or ON (1). Used for index scripting.
Parameters:
@bit - bit.