[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_OR()
Perform a bitwise OR
------------------------------------------------------------------------------
Syntax
fn_or( <nInt1> | <cInt1>, <nInt2> ) -> nResult
Arguments
<nInt1> may either be a numeric integer, or a 16-bit character string
that is the binary representation of a numeric integer. <nInt2> must
be a numeric integer.
Returns
<nResult>, a numeric
Description
The value returned is obtained by performing a bitwise OR with
<nInt1> and <nInt2> as operands. If any parameters are invalid,
the function will return zero.
Examples
nX := 11
nNum := fn_or( nX, 12 )
? nNum // 15
Source: N:\SRC\MISC\FNOR.ASM
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson