[REBOL] Re: curious use of LENGTH?
From: lmecir:mbox:vol:cz at: 31-Jan-2002 15:57
Hi myself,
a (stupid) mistake. It should have been:
insert/dup tail s " " mod - length? s max
, but my mod function isn't a mezzanine (can be found in
http://www.sweb.cz/LMecir/rounding.r)
----- Original Message -----
From: "Ladislav Mecir" <[lmecir--mbox--vol--cz]>
To: <[rebol-list--rebol--com]>
Sent: Thursday, January 31, 2002 3:32 PM
Subject: [REBOL] Re: curious use of LENGTH?
Hi Joel,
even
while [((length? s) // max) <> 0] [append s " "]
looks unusual to me. I normally use:
insert/dup tail s " " max - ((length? s) // max)
Cheers
Ladislav