RSSCategory: Classic ASP

More Binary/BitWise Functions for VBScript.

More Binary/BitWise Functions for VBScript.

I decided to write some functions to do left shifts, right shifts, signed right shifts as well as roll lefts and roll rights and more. The thing that I like about these functions is that they will work with Long Integers, Integers and Bytes automatically without the need for separate functions. I think they are […]

05/06/2014 | By | 6 Replies More
Generate valid GUID’s / UUID’s with ASP/VBScript

Generate valid GUID’s / UUID’s with ASP/VBScript

I’ve been working on a new ASP website and needed a way to generate valid UUID’s.  I searched around a bit but all I could find for ASP were functions that just generate some hex and added a few dashes.  They probably would have worked fine but if you’re going to do something you, might […]

01/27/2013 | By | 2 Replies More
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