[CM] range
Johannes Quint
johannes.quint@web.de
Thu, 16 Feb 2006 08:58:16 +0100
--Apple-Mail-1-708222689
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
charset=US-ASCII;
delsp=yes;
format=flowed
rick,
i dont understand the behaviour of 'range' when i write the following:
(setf x (new range :from 60 :stepping (new heap :of '(1 -1 1 -1
1)) :for 6))
as result of
(next x t)
i would expect a list which always contains 61 at the end, but i get
=> (60 61 60 61 60 59)
as well as
=> (60 59 58 59 60 61)
etc.
what is going wrong?
thanks - johannes.
_________________________
Johannes Quint
Rilkestr.55
D-53225 Bonn
0228 468256
johannes.quint@web.de
http://www.johannes-quint.de
--Apple-Mail-1-708222689
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
charset=ISO-8859-1
<HTML><BODY style=3D"word-wrap: break-word; -khtml-nbsp-mode: space; =
-khtml-line-break: after-white-space; ">rick,<DIV>i dont understand the =
behaviour of 'range' when i write the following:</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>(setf x (new range :from 60 =
:stepping (new heap :of '(1 -1 1 -1 1)) :for 6))</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>as result of=A0</DIV><DIV><BR=
class=3D"khtml-block-placeholder"></DIV><DIV>(next x t)=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>i would expect a list which =
always contains 61 at the end,=A0but i get=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>=3D> (60 61 60 61 60 =
59)=A0</DIV><DIV><BR class=3D"khtml-block-placeholder"></DIV><DIV>as =
well as=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>=3D> (60 59 58 59 60 =
61)=A0</DIV><DIV><BR =
class=3D"khtml-block-placeholder"></DIV><DIV>etc.</DIV><DIV>what is =
going wrong?</DIV><DIV>thanks - johannes.</DIV><DIV><BR><DIV> <SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida =
Grande; font-size: 10px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; "><SPAN =
class=3D"Apple-style-span" style=3D"border-collapse: separate; =
border-spacing: 0px 0px; color: rgb(0, 0, 0); font-family: Lucida =
Grande; font-size: 10px; font-style: normal; font-variant: normal; =
font-weight: normal; letter-spacing: normal; line-height: normal; =
text-align: auto; -khtml-text-decorations-in-effect: none; text-indent: =
0px; -apple-text-size-adjust: auto; text-transform: none; orphans: 2; =
white-space: normal; widows: 2; word-spacing: 0px; =
"><DIV>_________________________</DIV><DIV><BR style=3D"; font-family: =
Times New Roman; font-style: italic; ; font-size: 11px; =
"></DIV><DIV><FONT class=3D"Apple-style-span" size=3D"1"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: 9px;"><SPAN =
class=3D"Apple-style-span" style=3D"font-size: 9px; "><SPAN =
class=3D"Apple-style-span" style=3D"font-size: 9px; ">Johannes =
Quint</SPAN></SPAN></SPAN></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" size=3D"1"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px;"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; =
">Rilkestr.55</SPAN></SPAN></SPAN></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" size=3D"1"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px;"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; ">D-53225 =
Bonn</SPAN></SPAN></SPAN></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" size=3D"1"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px;"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; ">0228 =
468256</SPAN></SPAN></SPAN></FONT></DIV><DIV><FONT =
class=3D"Apple-style-span" size=3D"1"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px;"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; ">johannes.quint@<A =
href=3D"http://web.de">web.de</A></SPAN></SPAN></SPAN></FONT></DIV><DIV><F=
ONT class=3D"Apple-style-span" size=3D"1"><SPAN class=3D"Apple-style-span"=
style=3D"font-size: 9px;"><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><SPAN class=3D"Apple-style-span" =
style=3D"font-size: 9px; "><A =
href=3D"http://www.johannes-quint.de">http://www.johannes-quint.de</A></SP=
AN></SPAN></SPAN></FONT></DIV><BR =
class=3D"Apple-interchange-newline"></SPAN></SPAN> =
</DIV><BR></DIV></BODY></HTML>=
--Apple-Mail-1-708222689--