Tom wrote:
> works with this tiny change
> 
> from
>         ADD-FILLER (10 - length? FORMATTED-LINE)             ;; 3333
> to
> 
>         ADD-FILLER  10 - (length? FORMATTED-LINE)
> 
> 
> 
> this is because  10 - length?
> 
> is being asked to happen before length? FORMATTED-LINE
> 
> and is  not evaulating to an integer! so ADD-FILLER does not see it's
argument


Not quite. As shown here:

>> 10 - probe length? "123"
3
== 7
>> length? "123" + 3
** Script Error: Cannot use add on string! value
** Near: length? "123" + 3
>> (length? "123") + 3
== 6

Rebol is "peculiar" like that.

Andrew J Martin
Attendance Officer
Speaking in tongues and performing miracles.
Colenso High School
Arnold Street, Napier.
Tel: 64-6-8310180 ext 826
Fax: 64-6-8336759
http://colenso.net/scripts/Wiki.r?AJM
http://www.colenso.school.nz/

DISCLAIMER: Colenso High School and its Board of Trustees is not responsible (or 
legally 
liable) for materials distributed to or acquired from user e-mail accounts. You can 
report any 
misuse of an e-mail account to our ICT Manager and the complaint will be investigated. 
(Misuse can come in many forms, but can be viewed as any material sent/received that 
indicate or suggest pornography, unethical or illegal solicitation, racism, sexism, 
inappropriate 
language and/or other issues described in our Acceptable Use Policy.)

All outgoing messages are certified virus-free by McAfee GroupShield Exchange 
5.10.285.0
Phone: +64 6 843 5095  or  Fax: +64 6 833 6759  or  E-mail: [EMAIL PROTECTED] 


-- 
To unsubscribe from this list, just send an email to
[EMAIL PROTECTED] with unsubscribe as the subject.

Reply via email to