BTEST

Platform

x64, Win32, .NET

Purpose

To test if a particular bit in an integer is set.

Class

Elemental function.

Syntax

LOGICAL FUNCTION BTEST(I, POS)
INTEGER I, POS

Description

POS must be in the range 0 < POS < BIT_SIZE(I). Bit zero is the least significant bit. At least one of I and POS must be a scalar.

Return value

The result has the default logical type.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited