Tuesday, May 22nd 2012, 1:20am UTC+2

You are not logged in.

  • Login
  • Register

steveraymon

Beginner

Posts: 3

Location: Telford UK

Occupation: IT Consultant

1

Monday, October 10th 2011, 3:44pm

Text file reading and writing

Hello
Can anybody tell me whats wrong with this code:
Dim FNam As String
Dim FNr As Integer
FNam = "C:\Test.txt"
FNr = 1

Open FNam, Output, FNr
Print FNr, "anything"
Close FNr

Just trying to open a text file for input and output....but i cant...its so frustrating.... ?(
Thanks.

Rate this thread
WoltLab Burning Board