Checks if bitnumber 'bit' in value 'value' is on or off
Sample Input:
BitTest ( 33 , 5 )
Sample Output:
True
Description:
Checks if bitnumber 'bit' in value 'value' is on or off
The first bitnumber in a value is 0
For a value = 1, bitnumber 0 is ON
For a value = 2, bitnumber 0 = OFF, bitnumber 1 = ON
Syntax: BitTest ( value ; bit )
Returns True (1) if the bit is ON, False (0) if not.
Return type: Number (boolean)
This function is a vital part of the BitSet(), BitClear() and BitChange() functions.
Note: these functions are not guaranteed
or supported by BrianDunning.com. Please contact the individual
developer with any questions or problems.
Download the entire US zip code database with latitude and longitude. Click
here.
Custom Function Authors:
Link to all of your own custom functions on this site with the following URL:
http://www.briandunning.com/filemaker-custom-functions/results.php?author=Your
Name Here