Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Decimal to Binary Script Re:(2)

From: tim:johnsons-web at: 1-Aug-2000 9:07

I would also suggest: Add a refinement to pad with leading zeroes if necessary: I.E. dec2bin/32 0
>> 00000000000000000000000000000000
Really looks unnecessary, but useful when illustrating a variable that is of type integer! and has 32 bits. More of interest in a teaching situation, which rebol can be well suited to. -Tim At 10:51 AM 8/1/00 -0500, you wrote: