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

[REBOL] Re: [Nifty Function of the Day] Pad

From: atruter:labyrinth:au at: 16-Aug-2003 19:11

How about one that justifies based on type? pad: func [value width] [ either any [number? value money? value date? value] [ head insert/dup value: form value " " width - length? value ][ head insert/dup tail value: form value " " width - length? value ] ] Regards, Ashley