` 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 November 21, 2024, 3:31 am
This article has been viewed 35348 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: