BitOr ( x ; y )
Bitwise OR operation on two numbers
Average rating: 4.4 (26 votes) Log in to vote
Shaun Flisakowski spf-15 http://www.spf-15.com/ |
Function definition: (Copy & paste into FileMaker's Edit Custom Function window)
The numbers used the new functions TextStyleAdd() and TextColor() are bitmasks. For simple manipulations, + can sometimes be used to combine styles and colors:
RGB( 255, 0, 0 ) + RGB( 0, 255, 0 ) = RGB( 255, 255, 0 )
but for more complex operations, bitwise or operations can be helpful:
BitOr( Bold+Italic, Bold ) = Bold+Italic
Comments
Note: these functions are not guaranteed or supported by BrianDunning.com. Please contact the individual developer with any questions or problems.