News:

Printed Amstrad Addict magazine announced, check it out here!

Main Menu
avatar_Fabrizio Radica

BASIC - How to append data into text file.

Started by Fabrizio Radica, 16:09, 21 September 17

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Fabrizio Radica


Hi :)
I've a little problem.
I would like to append sequential data over file, every time i insert an input.


can you help me? :)
Ciao!

SRS

You mean like this ?

10 MODE 2
20 OPENOUT"flowtxt.txt"
30 INPUT a$
40 IF a$="***END***" GOTO 70
50 PRINT #9,a$
60 GOTO 30
70 CLOSEOUT
80 CAT


[attachimg=1]


Fabrizio Radica

Quote from: SRS on 20:10, 21 September 17
You mean like this ?

10 MODE 2
20 OPENOUT"flowtxt.txt"
30 INPUT a$
40 IF a$="***END***" GOTO 70
50 PRINT #9,a$
60 GOTO 30
70 CLOSEOUT
80 CAT


[attachimg=1]

Thank's Mate, Perfect!!! :D
Ciao!

Powered by SMFPacks Menu Editor Mod