Re: Need a hand with a small C conversion
- Posted by scooby Oct 18, 2008
- 990 views
here is some functions for splitting ints into hi and lo.
global function lo_word( atom a )
return low word return and_bits( a, #FFFF ) end function
global function hi_word( atom a )
return high word return and_bits(floor( a / #10000 ), #FFFF) end function