A Collection of Code Snippets in as Many Programming Languages as Possible
This project is maintained by TheRenegadeCoder
Welcome to the File Input Output in Commodore Basic page! Here, you'll find the source code for this program as well as a description of how the program works.
10 OPEN 1, 1, 1, "output.txt"
20 PRINT#1, "Hello from Commodore Basic"
30 PRINT#1, "This is a line"
40 PRINT#1, "This is another line"
50 PRINT#1, "Goodbye!"
60 CLOSE 1
70 OPEN 1, 1, 0, "output.txt"
80 INPUT#1, A$
90 PRINT A$
100 IF ST = 0 THEN GOTO 80
110 CLOSE 1
File Input Output in Commodore Basic was written by:
If you see anything you'd like to change or update, please consider contributing.
No 'How to Implement the Solution' section available. Please consider contributing.
No 'How to Run the Solution' section available. Please consider contributing.