Convert a 'signed' Word to a Long with minimum manipulation ?


Closed Thread
Results 1 to 8 of 8

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    Thanks.
    It sounds like I should just avoid using the Shift type divides then with Longs...
    Martin

  2. #2
    Join Date
    Nov 2005
    Location
    Perth, Australia
    Posts
    429


    Did you find this post helpful? Yes | No

    Default

    Just to correct myself, the code in my last post should have been:

    lCTemp=(B5+8)>>4
    IF lCTemp.27 THEN lCTemp=lCTemp|$F0000000

    I accidentally used an AND instead of an OR
    "I think fish is nice, but then I think that rain is wet, so who am I to judge?" - Douglas Adams

Members who have read this thread : 0

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