Hello!
I need to decode a UKSP-String (Ultra Short (kurz) String Police) for my application. The UKSP-String is a String with crlf+18 Bytes+crlf. Each Byte will save informations. For example: the first Byte is caluculated with:
Byte1=CHR(128+(County*8)+(bit.AND(District,28))/4))
County and District are decimal values. Now my question: Is there a way to decode the Byte1 in the Country and District? My first problem is to reverse the bitwise operation "bit.AND(District,28)".
Thanks for answer...
schimanski
I need to decode a UKSP-String (Ultra Short (kurz) String Police) for my application. The UKSP-String is a String with crlf+18 Bytes+crlf. Each Byte will save informations. For example: the first Byte is caluculated with:
Byte1=CHR(128+(County*8)+(bit.AND(District,28))/4))
County and District are decimal values. Now my question: Is there a way to decode the Byte1 in the Country and District? My first problem is to reverse the bitwise operation "bit.AND(District,28)".
Thanks for answer...
schimanski