🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: chile.comp.programacion
Article #2784

Pregunta visual basic

#2784
From: Manuel Villarroel
Date: Wed, 05 Oct 2005 15:31
14 lines
1309 bytes
Como puedo pasar un numero que representa un archivo
como parametro a una funcion o procedimiento para que dentro
de este se impriman cosas a ese archivo. Necesito algo asi:

sub printHola(fd as integer)
    print fd, "hola"
end sub

sub testPrintHola()
    dim nFile as integer
    nFile = FreeFile
    open "arch.txt" for output as fd
     printHola fd
end sub
Technical Details
Message-ID: <di0rkn$q71$1@helcaraxe.dcc.uchile.cl>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 1593cb,7e68ed694ea5ea66,start
X-Google-Attributes: gid1593cb,public
X-Google-Language: SPANISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!nntp-server.pubsub.com!news1.nivel5.cl!news.cec.uchile.cl!helcaraxe.dcc.uchile.cl!not-for-mail
From: "Manuel Villarroel" <someone@somewhere.com>
Newsgroups: chile.comp.programacion
Subject: Pregunta visual basic
Date: Wed, 5 Oct 2005 11:31:36 -0400
Organization: DCC - Universidad de Chile
Lines: 17
Message-ID: <di0rkn$q71$1@helcaraxe.dcc.uchile.cl>
NNTP-Posting-Host: anakena.dcc.uchile.cl
X-Trace: helcaraxe.dcc.uchile.cl 1128526295 26849 192.80.24.6 (5 Oct 2005 15:31:35 GMT)
X-Complaints-To: newsmaster@dcc.uchile.cl
NNTP-Posting-Date: Wed, 5 Oct 2005 15:31:35 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106