ToggleBit

concerns

You can use the ToggleBit attribute function to toggle the state of one bit of the 32 available bits of a long variable.

 

Syntax

ToggleBit(Bit)

Return value

None

Parameter

Use

Name

Type

Passing

Description

Required

Bit

Long

ByVal

Bit-number of 0-31

Note

A set bit is not set after execution of the function and an unset bit is set after the execution of the function.