Line breaks in format control string
- From: Pascal Bourguignon <usenet@xxxxxxxxxxxxxxxxx>
- Date: Thu, 30 Mar 2006 18:02:08 +0200
Raffael Cavallaro <raffaelcavallaro@pas-d'espam-s'il-vous-plait-mac.com> writes:
On 2006-03-30 10:04:56 -0500, mmcconnell17704@xxxxxxxxx said:
(do ((y 1971 (1+ y)))
((= y 1992))
(format t "~&I should have just had the guts to ask her out that day
in ~D." y))
Now someone write it with loop.
?
(loop for y from 1971 below 1992 do (format t "~&I should have just
had the guts to ask her out that day
in ~D." y))
(assuming you meant for the line break to be there and it isn't just
an artifact of your newsreader)
otherwise:
(loop for y from 1971 below 1992
do (format t
"~&I should have just had the guts to ask her out that day in ~D." y))
;; there's no line break in this ^^^ string
(loop for y from 1971 below 1992
do (format t "~&I should have just had the guts ~
to ask her out that day in ~D." y))
;; and neither in that string ^^^^^^^^^^^^^^^^^^^^^^^
--
__Pascal Bourguignon__ http://www.informatimago.com/
"What is this talk of "release"? Klingons do not make software
"releases". Our software "escapes" leaving a bloody trail of
designers and quality assurance people in its wake."
.
- Follow-Ups:
- Re: Line breaks in format control string
- From: Lars Brinkhoff
- Re: Line breaks in format control string
- From: Raffael Cavallaro
- Re: Line breaks in format control string
- References:
- What language will be used to write the first self aware program?
- From: David Steuber
- Re: What language will be used to write the first self aware program?
- From: mmcconnell17704
- Re: What language will be used to write the first self aware program?
- From: Raffael Cavallaro
- What language will be used to write the first self aware program?
- Prev by Date: Re: What language will be used to write the first self aware program?
- Next by Date: Re: packages, load paths and environment variables
- Previous by thread: Re: What language will be used to write the first self aware program?
- Next by thread: Re: Line breaks in format control string
- Index(es):
Relevant Pages
|