Login
`
Templates, Tools and Utilities
|
||
Add a comment to an Icetips ArticlePlease add your comments to this article.
Please note that you must provide both a name and a valid email address in order
for us to publish your comment. Comments are moderated and are not visible until they have been approved. Spam is never approved!
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, 7:19 am This article has been viewed 35205 times. Google search has resulted in 10 hits on this article since January 25, 2004.
|
|