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

[REBOL] Re: YYYYMMDD date format

From: johnkenyon:ibm at: 14-Nov-2000 16:10

Mat, Probably no neater - but here goes ... pad: func [ value (integer!) figures (integer!) ] [ out: copy "" loop figures - length? to-string value [ append out "0" ] append out value ]
>I'd show you how I did it but it's really quite embarrassing ;)
I'm not much further ahead than you are :)
>Tell you something else I'd give my left one for, a straight port of >the Arexx parse command. I don't think I'll *ever* understand Rebols >:(
Arexx parse was nice but rebol parse is good fun. Just keep trying the examples and you never know... Cheers, John