🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.tcl
Article #523

CONCAT a znak końca linii

#523
From: jerry
Date: Mon, 17 Sep 2007 05:52
14 lines
1112 bytes
Witam,

Dlaczego sklejając łańcuchy za pomocą CONCAT wynikowy łańcuch nie 
zawiera znaku końca linii i powrotu karetki (\n\r), mimo że te znaki 
były doklejane. Np.:

set str "PIERWSZA LINIA"
set str [concat $str "\n\rDRUGA LINIA\n\r"]

da w wyniku tekst "PIERWSZA LINIA DRUGA LINIA"
?

Jak sklejać łańcuchy zawierające takie znaki?
help...
Technical Details
Message-ID: <fcl47g$7eo$1@news.interia.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!feed.news.interia.pl!not-for-mail
From: jerry <jerry@niewazne.pl>
Newsgroups: pl.comp.lang.tcl
Subject: CONCAT a znak końca linii
Date: Mon, 17 Sep 2007 07:52:46 +0200
Organization: INTERIA.PL S.A.
Lines: 15
Message-ID: <fcl47g$7eo$1@news.interia.pl>
NNTP-Posting-Host: gki42.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: news.interia.pl 1190007856 7640 83.3.8.42 (17 Sep 2007 05:44:16 GMT)
X-Complaints-To: usenet@news.interia.pl
NNTP-Posting-Date: Mon, 17 Sep 2007 05:44:16 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
X-Authenticated-User: j.zarychta % interia+pl
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit