Matrix1 Utility Plug-ins

BIT FLIP


Syntax

Bitset = BIT FLIP( Source Bitset, Bit Number)

Description

This function returns the Source Bitset with the bit specified switched to its opposite value, i.e. if it was 1, then it switches to zero, and if it was zero it switches to 1.

You can store a bitset within variables of type byte, word, dword or double integer giving up to 64 bits.

Go back to ...

Matrix1Util_17 Commands Menu
Matrix1 Utils Main Index
Matrix1 Utils Command List
Commands Menu
Main Menu

Copyright © Ian Mold - Matrix1 Software 2006 - 2011