`
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)
Printed October 24, 2026, 1:53 pm This article has been viewed/printed 36258 times. |