[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
FN_SHL()
Shift the bits in an integer to the left
------------------------------------------------------------------------------
Syntax
fn_shl( <nInt> | <cInt>, <nBits> ) -> nResult
Arguments
<nInt> may either be a numeric integer, or a 16-bit character string
that is the binary representation of a numeric integer.
<nBits> is the number of bits to shift left and must be a numeric.
Returns
<nResult>, a numeric
Description
The value returned is obtained by shifting the bits in <nInt> to
the left. <nBits> determines the number of bits to shift.
If any parameters are invalid, the function will return zero.
Examples
? fn_shl( 12, 2 ) // 48
Source: N:\SRC\MISC\FNSHL.ASM
Author: Ted Means
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson