ODBiC Discussion Board


Setting the nth bit of a variable

by Nik Kamal, November 3, 2006 14:08

I'd like to use the bitwise OR() function to set the nth bit of an integer variable where n is between 0 to 31. Do I use OR($var$,$n$)?


Replies:


Post Your Reply:

Name   
E-mail  optional
Topic  
Message:

HTTP Link: 
Link text: 

          


Copyright ©1997-2003, Roger Harris. All rights reserved.