Note precedence in rebol works funny :) if 2 < length? month [insert month "0"] you need a single argument on the left, ut on the right can be a whole call. 2 < 1 + 3 ;works not, 2 < add 1 3 ;works 2 < + 1 3 ; works too Volker > This doesn't work... > > month: to-string now/month > if (length? month < 2) [insert month "0"] > > ** Script Error: Expected one of: string! - not: integer!. > ** Where: if (length? month < 2) [insert month "0"] > > How come? > > > > if (length? tmp: to-string now/day) < 2 [insert tmp "0"] > > >
