Jump to content
  • Advertisement

Archived

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

TheSalmon

Bitshift in VB?

This topic is 6541 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
Advertisement
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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!