Re: What language will be used to write the first self aware program?
- From: Raffael Cavallaro <raffaelcavallaro@pas-d'espam-s'il-vous-plait-mac.com>
- Date: Thu, 30 Mar 2006 10:50:43 -0500
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
.
- Follow-Ups:
- Line breaks in format control string
- From: Pascal Bourguignon
- 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
- What language will be used to write the first self aware program?
- Prev by Date: Re: Newbie lisp problem: string to list of strings separated by space
- 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: Line breaks in format control string
- Index(es):
Relevant Pages
|