Subject: RE: [OpenJade] OpenJade 1.2.2 Released From: Avi Kivity <Avi@xxxxxxxxxxxxx> Date: Fri, 23 Jul 1999 19:32:06 +0300 |
On Friday, July 23, 1999 18:44, Chris Maden [SMTP:crism@xxxxxxxxxxx] wrote: > [Avi Kivity] > > * + and - return a length-spec if any of there arguments is a > > length-spec. > > How does that work? I assume the numbers are coerced into lengths, > but with what units? E.g., given: > > (+ 2.54cm > 1in > 5) > > what is the result? A runtime error. You're confusing dimensions and length-spec-ism: 5 --> quantity, dimension 0 1in --> quantity, dimension 1 2.54cm --> ditto (display-size) --> length-spec You can't add quantities of mixed dimensions. You can, however add a length-spec to a quantity of dimension 1. A length-spec is a quantity of dimension 1 whose value is not known at processing time, similar to (inherited-*). It appears that the only way to generate a length-spec which is not a linear combination of other length-specs is to use the (display-size) procedure. See 12.5.2. - Avi -- "The only words which have meaning are the last ones spoken" DSSSList info and archive: http://www.mulberrytech.com/dsssl/dssslist
Current Thread |
---|
|
<- Previous | Index | Next -> |
---|---|---|
RE: [OpenJade] OpenJade 1.2.2 Relea, Didier PH Martin | Thread | RE: [OpenJade] OpenJade 1.2.2 Relea, Peter Nilsson |
Re: [OpenJade] OpenJade 1.2.2 Relea, Matthias Clasen | Date | Re: processing character entities, Brandon Ibach |
Month |