[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: #| One last comment on #| |#



Nothing's perfect.  You can't get a carriage-return into a ;-comment
either.  And what of the loser who adds a ; to the second line of
	(COND ((SCREWYP FROB)
	       (FORMAT T "This frob is extremely ~
			  screwy: ~S" FROB)))
to produce
	(COND ((SCREWYP FROB)
     ;	       (FORMAT T "This frob is extremely ~
			  screwy: ~S" FROB)
	       )
because he thought the <cr> in the string "didn't count"?

The answer is that every string-gobbling or commenting device
has to be terminated by *something*, and you just can't get that
something into such a construct.  So indeed, when you put #|...|#
around something you have to look for |# first.  It doesn't
work to put a string in a string either.