Set Flag by Index

 
 
 

Sets the specified bit to 1 in an integer being used as a bit field.

Category: Binary Flags

Output Ports: Result, Valid

Flags

An integer value being used as a bit field. Use Set Flags to store bit values in an integer.

Index

The bit to set, where 0 is the rightmost bit. The Valid output returns 0 if Index is negative.