-
May 24th, 2011, 11:51 AM
#1
what is this
I have a struct that is initialized as
With
.structsize=LenB(struct);
.mask=&H7DFFF
and the struct6 is defined as
{
dim structsize as Long;
dim mask as Enum;
dim s as String
}
and Enum is
{
x-coor=1,
y-coor=5,
z-coor=1000,
t-coor=123445
.......
}
what is the mask ?
is it equivalent to 0x7DFFF ?
Thank you
-
May 24th, 2011, 12:20 PM
#2
Re: what is this
That is a HEXIDECIMAL number &H means that. It equals 516095 according to CALC.
-
May 24th, 2011, 01:00 PM
#3
Re: what is this
Yes, and (also according to Calc) it is 1111101111111111111 binary which is probably the most graphic way of viewing it since it apparently is a bit mask.
I was thrown out of college for cheating on the metaphysics exam; I looked into the soul of the boy sitting next to me.
This is a snakeskin jacket! And for me it's a symbol of my individuality, and my belief... in personal freedom.
-
May 24th, 2011, 02:11 PM
#4
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|