SET_BIT@

Platform

x64, Win32

Purpose

To set the N'th bit of an array.

Syntax

SUBROUTINE SET_BIT@(IA,N)
INTEGER IA(*),N

Description

Sets the N'th bit of the array IA. IA and N can be any INTEGER type.

Notes

SET_BIT@ is not like the standard intrinsic IBSET. SET_BIT@ is not elemental and N extends from the lowest bit of IA(1) to highest bit of the last element of IA.

 

 

Basket
Empty
 
Copyright © 1999-2024 Silverfrost Limited