🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: free.it.visual-basic
Article #1021

Creazione di file di testo

#1021
From: Danilo
Date: Sat, 18 Dec 2004 06:27
18 lines
1227 bytes
Ciao ragazzi ho un piccolissimo problema. Il seguente pezzetto di 
codice crea un file di testo con un record:

OPEN "test.txt" FOR OUTPUT AS #1
PRINT #1, "1234567890"
CLOSE #1

Il problema � che siccome viene aggiunto automaticamente in ogni 
record il terminatore di riga CR+LF la lunghezza di ogni record non 
risulta essere 10 byte ma 12 byte.
E' possibile in qualche modo ottenere lo stesso file di testo senza 
che si aggiungano in automatico i terminatori di riga ?


-- 
Danilo Bartoli

Inviato da www.mynewsgate.net
Technical Details
Message-ID: <2004121806270312947@mynewsgate.net>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!nntp.eutelia.it!news.panservice.it!x-privat.org!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: f94ee,b20cb91c3457aeb8,start
X-Google-Attributes: gidf94ee,public
X-Google-Language: ITALIAN,ASCII
From: "Danilo" <info@project-informatica.it>
Newsgroups: free.it.visual-basic
Subject: Creazione di file di testo
Message-ID: <2004121806270312947@mynewsgate.net>
Date: Sat, 18 Dec 2004 06:27:03 GMT
X-Newsreader: www.mynewsgate.net
X-Complaints-To: abuse@mynewsgate.net
NNTP-Posting-Host: 83.224.64.55
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15
Content-Transfer-Encoding: 8bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!tiscali!newsfeed1.ip.tiscali.net!nntp.eutelia.it!news.panservice.it!x-privat.org!not-for-mail