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 Par2: Number to binary (hex or octal) 2000-12-13 -- Randy Rogers This is easier, much more concise, and the radix value can be in the range 2
to 36 (2 = binary, 8 = octal, 16 = hex)....
MODULE('clib')
LtoA(LONG num ,*CSTRING s, SIGNED radix),ULONG,RAW,NAME('_ltoa'),PROC
END
Result CSTRING(34)
LtoA(Value,Result,2)
Today is November 23, 2024, 2:17 am This article has been viewed 35224 times.
|
|