You are not logged in.

steveraymon

Beginner

  • "steveraymon" is male
  • "steveraymon" started this thread

Posts: 3

Date of registration: Nov 4th 2010

Location: Telford UK

Occupation: IT Consultant

Hobbies: IT Music

  • Send private message

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.

theuserbl

Intermediate

Posts: 436

Date of registration: Dec 20th 2008

  • Send private message
Rate this thread
WoltLab Burning Board