21.10.2013 Views

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

Firebird 2.1 Language Reference Update

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Better alternative: Internal function BIN_AND()<br />

External functions (UDFs)<br />

Description: Returns the bitwise AND result of the arguments.<br />

Result type: INTEGER<br />

Syntax:<br />

bin_and (num1, num2)<br />

Declaration:<br />

DECLARE EXTERNAL FUNCTION bin_and<br />

INTEGER, INTEGER<br />

RETURNS INTEGER BY VALUE<br />

ENTRY_POINT 'IB_UDF_bin_and' MODULE_NAME 'ib_udf'<br />

Library: ib_udf<br />

Added in: IB<br />

Better alternative: Internal function BIN_OR()<br />

bin_or<br />

Description: Returns the bitwise OR result of the arguments.<br />

Result type: INTEGER<br />

Syntax:<br />

bin_or (num1, num2)<br />

Declaration:<br />

DECLARE EXTERNAL FUNCTION bin_or<br />

INTEGER, INTEGER<br />

RETURNS INTEGER BY VALUE<br />

ENTRY_POINT 'IB_UDF_bin_or' MODULE_NAME 'ib_udf'<br />

Library: ib_udf<br />

Added in: IB<br />

Better alternative: Internal function BIN_XOR()<br />

bin_xor<br />

172

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!