Jump to content
  • Advertisement


This topic is now archived and is closed to further replies.


Bitshift in VB?

This topic is 6456 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Much to my dismay, I''m being forced to read VB at computer class in my school so I was wondering if you can bitshift an integer in VB like you do in C with "<<" or ">>" (I''m guessing no, but I''d like to know for sure...) No game will ever rule more than CBT!

Share this post

Link to post
Share on other sites
Most modern compilers automatically convert multiplication and division into their bit shifting counterparts, so you probably have no need to do explicit do so.

And considering VB is platform dependant you will most likely always use the same compiler, so you don''t have to worry certain compilers failing to do so.

- Houdini

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!