Re: Line breaks in format control string



Pascal Bourguignon <usenet@xxxxxxxxxxxxxxxxx> writes:
;; 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 ^^^^^^^^^^^^^^^^^^^^^^^

There is a newline in the string literal, but FORMAT will ignore it.
.



Relevant Pages

  • Re: Using VBA need to add a text box to a form
    ... The loop will be created with: ... Since you already have a reference to txt, you can assign the format ... Allen Browne - Microsoft MVP. ... I am not even sure you are doing this in design view. ...
    (microsoft.public.access.formscoding)
  • Re: is it effective/better
    ... i dont know whether what i have written is an effective solution. ... do (loop ... initially (format t "~%~VA" ... (defun pascal-triangle (n) ...
    (comp.lang.lisp)
  • Re: whats the best way to do this?
    ... "t then nil" thing is a little cutesy, ... so I'd go with the LOOP version. ... Hey, this was supposed to be LOOP weekend, not FORMAT. ... You are a newbie and you haven't answered my: ...
    (comp.lang.lisp)
  • Re: string formatting with mapping & *... is this a bug?
    ... Pierre Fortin wrote: ... Ah, sorry, my favourite idiom to avoid the boilerplate of ... reference loop) so I should remember to 'del self.self' after it... ... you SHOULD hoist the "real format" out of the ...
    (comp.lang.python)
  • 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)