VB.net and bit arithmetic


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Sep 2003
    Location
    Vermont
    Posts
    373

    Question VB.net and bit arithmetic

    Hey guys,
    I've been building a PC interface for a PIC app, and I need to do some bit work. I've got .net2008. In some web help lit, there was an example using bitAND, bitOR, and bitXOR, but they don't work one bit! << and >> seem to work for shifting though...Is there a way to do this in VB without writing a DLL in C?
    Thanks,
    Ron

  2. #2
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    As far as i'm aware of, there's no longer real built-in features for that. However, maybe the following could help.

    http://visualbasic.about.com/od/usin...bitops01_3.htm
    Last edited by mister_e; - 7th May 2008 at 04:42.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

Similar Threads

  1. Bits, Bytes Words and Arrays
    By Melanie in forum FAQ - Frequently Asked Questions
    Replies: 24
    Last Post: - 14th June 2016, 07:55
  2. Doubt with interrupt on change
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 5th March 2010, 15:22
  3. How to receive stream of bytes using PIC USART
    By unifoxz in forum mel PIC BASIC Pro
    Replies: 34
    Last Post: - 20th June 2009, 10:38
  4. PICBasic newbie problem
    By ELCouz in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 12th February 2008, 00:55
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 1

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts