varpbit

fun varpbit(index: Int): Int

Returns the array of a specified index.

Return

the setting for the specified index

Parameters

index

the index of the setting

fun varpbit(index: Int, mask: Int): Int

Gets the value at a given index and applies a given mask to the value.

Return

the masked value

Parameters

index

the index in the settings array

mask

the bitmask

fun varpbit(index: Int, shift: Int, mask: Int): Int

Gets the value at a given index, bit shifts it right by a given number of bits and applies a mask.

Return

the masked value

Parameters

index

the index in the settings array

shift

the number of bits to right shift

mask

the bitmask