` Split out high and low 16 bits in Long (Stamos Fafalios ) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

Par2: Split out high and low 16 bits in Long
2012-05-16 -- Stamos Fafalios
 
Sneaky but try. MyGroup GROUP MyLongA SHORT MyLongB SHORT END MyLong LONG,OVER(MyGroup) That would split the bits. If you want the actual value of the higher bytes in the Long, it would be MyLong - MyLongB Sean Hennessy opins that perhaps a USHORT would be better.


Today is April 26, 2024, 3:23 pm
This article has been viewed 35122 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: