MathGroup Archive 2002

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: without linefeed?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg37553] Re: without linefeed?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Tue, 5 Nov 2002 04:59:08 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <apvb8o$rkk$1@smc.vnet.net>
  • Reply-to: kuska at informatik.uni-leipzig.de
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

no, you can't because the kernel send a Print packed
and the FrontEnd show it. But there is no 
"continue packed". 

But you can accumulate the printed output in a string
$printstring = ""

myprint[a___] := ($printstring = 
        StringJoin[$printstring, ToString[SequenceForm[a]]];)

and show it with

myflush[]:=(Print[$printstring];$printstring="";)

Regards
  Jens

Rolf Schramek wrote:
> 
> Hello,
> 
> I have a simple question:
> How can I print something without a linefeed, so that the next printing
> will just continue the line.
> Ther must be an analogon to \n
> 
> Thanks for an answer
> Rolf


  • Prev by Date: Re: Mathematica on the web
  • Next by Date: Re: machine-size problem again?
  • Previous by thread: Re: Mathematica on the web
  • Next by thread: random matrix initialisation...