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).

Reply With Quote