alech's blog. Perl, Security, Curiosities, Links, Rants, Photos, yadayada
Home | Articles
Not logged in. Log in.
Comments on Unicode in VBScript — the AscW() rant | 3 comments | Post a comment
Re: Unicode in VBScript — the AscW() rant
Written by Anonymous Coward (0) on 2009-6-30 (火) at 11:17 pm
little error in the block
MaskSixBits = 2^6 - 1 ' the lower 6 bits are 1
MaskFourBits = 2^4 - 1 ' the lower 4 bits are 1
MaskThreeBits = 2^3 - 1 ' the lower 3 bits are 1
MaskTwoBits = 2^2 - 1 ' the lower 3 bits are 1
in the last line the comment should read "'the lower 2 bits are 1"
Comments on Unicode in VBScript — the AscW() rant | 3 comments | Post a comment
Re: Unicode in VBScript — the AscW() rant
Written by Anonymous Coward (0) on 2009-6-30 (火) at 11:17 pm
little error in the block
MaskSixBits = 2^6 - 1 ' the lower 6 bits are 1
MaskFourBits = 2^4 - 1 ' the lower 4 bits are 1
MaskThreeBits = 2^3 - 1 ' the lower 3 bits are 1
MaskTwoBits = 2^2 - 1 ' the lower 3 bits are 1
in the last line the comment should read "'the lower 2 bits are 1"
[ Link | XML | YAML | Reply... ]