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.

RvdN

Beginner

  • "RvdN" is male
  • "RvdN" started this thread

Posts: 3

Date of registration: Aug 8th 2009

Location: The Netherlands

  • Send private message

1

Saturday, August 15th 2009, 11:52am

Open sFIle for input as #nFree

Hello,

I am new to Jabaco but have 'programmed' a lot in VBA and a little in VB. A long time ago I created Turbo Pascal programs.

At the moment I am writing a program to process .csv files but the way i used to do this doens't work in Jabaco:

Open sFIle for input as #nFree
while not eof(sFile) do
input #nFree, sVar1 sVar2, sVar3, sVar4
blablablabla...
wend

Can anyone help me?

Tnx in advance,

Ron...

klctal

Trainee

  • "klctal" is male

Posts: 70

Date of registration: Jul 13th 2009

Location: Shanghai

Hobbies: Developing software

  • Send private message

2

Saturday, August 15th 2009, 12:02pm

Hi RvdN,

The syntax has changed: use this:

Jabaco Source

1
2
Dim FF As VBFileHandler
FF = Open(SFile)


To open files.



klctal
:D

Rate this thread
WoltLab Burning Board