Silverfrost Logo About Us | Contact Us
 

SET_BIT@

Platform

x64, Win32

Purpose

To set the N'th bit of an array.

Syntax

style="color: #000080;">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.

 

 

Copyright © 1999-2017 Silverfrost Limited