Page 2 of 2

Re: Basic "Standard" File I/O

PostPosted: Fri Jun 29, 2012 2:03 pm
by GaryVass
Does it work in all versions? I am running Linux and still get an error (latest update May 2012)?

Re: Basic "Standard" File I/O

PostPosted: Fri Jun 29, 2012 5:07 pm
by Henning
Tested and verified. Seems to only work in Windows so far...

/Henning

Re: Basic "Standard" File I/O

PostPosted: Sun Jul 08, 2012 1:10 pm
by Slowdown
@Henning,
Reading works but writing isn't (yet) :roll:

Re: Basic "Standard" File I/O

PostPosted: Mon Sep 10, 2012 8:19 pm
by GaryVass
Is this implemented yet: Open FileName For Input Access Read As FP1 It is giving a syntax error in the linux version.

I read that line input is working for input, but how do you use it if the above line is not implemented? I was going to use readlist, but the files I need to read will not be the same size, or necessarily have the same number of items. In addition, the files may tend to be very big and it would be better to read them line by line instead of reading the full file into memory.

Re: Basic "Standard" File I/O

PostPosted: Mon Sep 10, 2012 10:45 pm
by Henning
Yepp, error in Linux version confirmed.

Source: Open InFileName For Input Access Read As infile

The compiler reports:
Error: Near OpenInFileName... the space after Open dissapeared.

Windows compiles ok.

/Henning

Re: Basic "Standard" File I/O

PostPosted: Fri Sep 14, 2012 6:52 pm
by Slowdown
64bit linux,
Also working.