| |
stickyc
Posts: 1
Score: 0
Joined: 12/5/2005
Status: offline
|
I'd like to be able to use a serial number to drive the available set of Features in a Wise installer. The thinking is that I'd use one byte of the serial number as a bit-mask, each bit would set a Property indicating if the user has access to a certain Feature or not. I'm new to VBscript, are there any tricks to go about doing this? Off the top of my head, I figured I would get the mid$ of the variable to isolate the one byte I was using as the key, then do a series of OR statements with each possibility (looping is out, since each Property being set needs to be a descriptive name). Is there a better way?
|
|