+ Reply to Thread
Results 1 to 2 of 2

Thread: Bit Fields

  1. #1
    Guest.Visitor Guest

    Default Bit Fields

    I'm trying to use the DSM Query API and some of the returned data is spread over bit ranges in a 5-byte string. Does anyone have some handy RPGIV code for extracting these bit ranges and returning as an integer value? (I know this would be a snip in C, but I don't have access to the C compiler).

  2. #2
    Guest.Visitor Guest

    Default Bit Fields

    On Monday, September 14, 1998, 11:45 PM, J V Thompson wrote: I'm trying to use the DSM Query API and some of the returned data is spread over bit ranges in a 5-byte string. Does anyone have some handy RPGIV code for extracting these bit ranges and returning as an integer value? (I know this would be a snip in C, but I don't have access to the C compiler). JV, Have a look at the TESTB opcode. Should do the trick. Derek

+ Reply to Thread

Similar Threads

  1. SORTA with Key Fields
    By wimofpee in forum RPG
    Replies: 5
    Last Post: 11-02-2006, 11:15 AM
  2. Replies: 5
    Last Post: 03-24-2006, 04:50 AM
  3. fields overlay ?
    By Guest.Visitor in forum RPG
    Replies: 0
    Last Post: 03-31-2005, 11:14 PM
  4. Time Stamp Fields to mmddyy and hhmmss fields
    By S.Mildenberger in forum RPG
    Replies: 2
    Last Post: 10-01-2003, 03:01 AM
  5. Replies: 0
    Last Post: 08-29-2003, 05:24 PM

Posting Permissions

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