` Number to binary (hex or octal) (Randy Rogers ) - 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: 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 April 26, 2024, 3:48 am
This article has been viewed 35110 times.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: