Skip to main content
GameDev.net gamedev.net
🔒 Locked

Simple Question...

Started by Wuzzbent Apr 3, 2005 at 11:04 PM 1 replies 850+ views
Original Post
Wuzzbent
Wuzzbent
What is the equivilant to this in Vb.Net? xo = sprite_x & 15; I am studying some of the isometric articles and only being semi-fluent in C/C++, I don't know exactely what the "&" is equivilant too, looks like it could be "Mod" in vb but not quite sure... Wuzzbent
-Wuzzbent
Hidden Asbestos
Hidden Asbestos
Quote:
Original post by Wuzzbent
What is the equivilant to this in Vb.Net?

xo = sprite_x & 15;

& is the C/C++ bitwise AND operator. The equivalent in Vb.Net would be:

xo = sprite_x And 15
Wuzzbent
Wuzzbent
Ah easy enough, thank you...
-Wuzzbent

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.