Login
`
Templates, Tools and Utilities
|
||
Icetips Article
Back to article list
Search Articles
Add Comment
Printer friendly
Direct link
Windows API: Is there a "binary representation" command 2003-05-30 -- Jeff Slarve Newsgroups: softvelocity.products.c55ee
Program
MAP
MODULE('clib')
LtoA(LONG num ,*CSTRING s, |
SIGNED radix),ULONG,RAW,NAME('_ltoa'),PROC
END
end
BinString CString(33)
HexString CString(9)
Code
LtoA(5416,BinaryString,2)
LtoA(5416,HexString,16)
Message('Binary: ' & BinaryString & '|Hex:' & HexString)
On Fri, 30 May 2003 11:51:28 -0400, "Michael Frazer"
Today is November 21, 2024, 3:36 am This article has been viewed 35204 times. Google search has resulted in 10 hits on this article since January 25, 2004.
|
|