Re: Problem with Write (2018-11-14 08:23 by SHIRAISHI Kazuo #82156)
A WRITE command for a regular file coincides with a PRINT statement.
When we want CSV files, we use internal files or open files with RECTYPE CSV.
That is,
OPEN #1: NAME "TEST.CSV", RECTYPE INTERNAL
or
OPEN #1: NAME "TEST.CSV", RECTYPE CSV
Re: Problem with Write (2018-11-16 22:21 by MarcoMinero #82163)
Reply To Message #82155
> This code does not work in my computer:
>
> OPEN #1: NAME "ma.txt"
> WRITE #1: 1,2,3
> CLOSE #1
> END
>
> The file has no "commas"
I use now thw program:
OPEN #1: NAME "TEST.CSV", RECTYPE CSV
ERASE #1
WRITE #1: 1, 2
CLOSE #1
END
And the file is wrong (one column 1 2 and no comma)