You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

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