Archive for October, 2010

Using bit flags and bit-wise operations or converting decimal to binary in ASP/VBScript

Using bit flags and bit-wise operations or converting decimal to binary in ASP/VBScript

Here are a couple of VBScript functions I wrote to easily use a 32 bit long integer as 32 separate Boolean values or “bit flags”. You could also use these functions to convert binary to decimal or decimal to binary or to learn about bit-wise operations.

10/18/2010 | By | 9 Replies More