![]() |
| Matrix1 Utility Plug-ins |
| Syntax |
| Bit Number = BIT FIND LAST SET ( Source Bitset ) |
| Description |
| This function will return the position of the last set bit within the bitset. The function assumes that the bitset is a full 64 bits in size so checks should be made to ensure that the bit number returned is valid for the type that the bitset is stored in. If no set bit is found, this function will return -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
![]() |