In ASP, Bit Operator Left shift and Right shift
问题 Does anyone know left shift and right shift operator sample's? I'm new in ASP. I found Bit operators such as AND,OR,NOT only.. 回答1: For vbscript, left shift is accomplished by multiplication (i.e., var * 2 left shifts one position, var * 4 lefts shifts two positions, etc.) and right shift is accomplished by division (i.e., var \ 16 right shifts four positions). 回答2: There are no direct methods for left and right shift in vbscript, but as this is a simple move of each digit in a set of bits