Add README, implement KILL/NAME, use relative paths in tests

Add README.md for public release. Implement KILL and NAME statements
for file management. Change test programs to use relative paths
instead of /tmp/ and clean up temp files with KILL. Update .gitignore
for test artifacts.
This commit is contained in:
Eremey Valetov
2026-02-10 15:53:57 -05:00
parent 66479b5d6e
commit df5c3083b1
7 changed files with 171 additions and 6 deletions
+2 -1
View File
@@ -1,5 +1,5 @@
10 REM Random-access file I/O test
20 OPEN "R", #1, "/tmp/gwbasic_random.dat", 32
20 OPEN "R", #1, "gwbasic_random.dat", 32
30 FIELD #1, 20 AS N$, 4 AS A$, 8 AS S$
40 LSET N$ = "Alice"
50 LSET A$ = MKI$(25) + " "
@@ -14,3 +14,4 @@
140 GET #1, 2
150 PRINT LEFT$(N$, 3); CVI(A$)
160 CLOSE #1
170 KILL "gwbasic_random.dat"