Before anyone starts - I program in VB6, I don't want this to turn into an arguement as to which is best.
Anyways, I've found some code which is in C or C#, and i'm just a little confused as to what a couple of lines are, and how I'd re-write it in VB6.
Searching is proving very difficult, as it involves =, < and + symbols, which search engines don't like!
The lines are as follows, I've highlighted the bits VB6 is failing on in red:
mask = 1 << (i - 1);
arc = earthCircum / ((1 << zoom) * 256)
quad += cell;
(not all one after the other in a procedure)
I'm sure they're some kind of maths or comparison commands, but I'm not sure what they are/do!
Thanks in advance for any help!
Garry
Anyways, I've found some code which is in C or C#, and i'm just a little confused as to what a couple of lines are, and how I'd re-write it in VB6.
Searching is proving very difficult, as it involves =, < and + symbols, which search engines don't like!

The lines are as follows, I've highlighted the bits VB6 is failing on in red:
mask = 1 << (i - 1);
arc = earthCircum / ((1 << zoom) * 256)
quad += cell;
(not all one after the other in a procedure)
I'm sure they're some kind of maths or comparison commands, but I'm not sure what they are/do!
Thanks in advance for any help!

Garry