From: Barry Margolin
Subject: Re: print question
Date: 
Message-ID: <vaSE2.75$p4.6536@burlma1-snr2>
In article <······················@omikron.medizin.uni-ulm.de>,
kp gores <·····@sip.medizin.uni-ulm.de> wrote:
>hi,
>
>i have defined a structure with a print function. the structure consists
>of word and markup.
>the print function prints only the word, if no markup is there (i.e markup
>is nil) , or prints <markup>word</markup> if markup is non-nil. i print to
>a file/stream.
>
>unfortunately each output is preceded (or maybe followed?) by a blank,
>which i want to be able to suppress. how?

Use PRIN1 rather than PRINT.  They're identical except that PRINT forces
whitespace around the object; ignoring optional arguments, it could be
defined as:

(defun print (object)
  (terpri)
  (prin1 object)
  (princ " "))

-- 
Barry Margolin, ······@bbnplanet.com
GTE Internetworking, Powered by BBN, Burlington, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.