Re: What language will be used to write the first self aware program?



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

.



Relevant Pages

  • Line breaks in format control string
    ... (format t "~&I should have just had the guts to ask her out that day ... Now someone write it with loop. ...
    (comp.lang.lisp)
  • Re: Pls help: extract LIDAR data from .all files
    ... You'd better use a good plain text editor (textpad?) to see the guts. ... be in a common compression format ... know how to unzip them to a useful format. ...
    (sci.image.processing)
  • Re: OH SHIT! Nikon Announces Another Must Have Camera, The D700!!
    ... I personally hope one of them has the guts to go bigger and ... than the sales of crop DSLRs? ... we'll all move to large format cameras. ...
    (rec.photo.digital.slr-systems)
  • Re: Line breaks in format control string
    ... Pascal Bourguignon writes: ... (loop for y from 1971 below 1992 ... do (format t "~&I should have just had the guts ~ ... There is a newline in the string literal, but FORMAT will ignore it. ...
    (comp.lang.lisp)
  • Re: Newsletter
    ... Hello mr scared...hiding behind an anonymous label, with no guts to stand up ... obtained by publishing in any format other peoples work ...
    (microsoft.public.windowsxp.moviemaker)