OpenSpec-Review dokumentieren und ISAM-Vertragsabweichungen beheben

This commit is contained in:
2026-09-05 17:55:09 +02:00
parent 19804e0e2d
commit 57d6386a5a
61 changed files with 3087 additions and 86 deletions

27
tests/compat/isamopen.bas Normal file
View File

@@ -0,0 +1,27 @@
' tb-screen: 80x25
' tb-tempdir
' Weitere Bindungen sehen dieselbe Transaktion; CLOSE schreibt nicht fest.
TYPE R
Nr AS INTEGER
END TYPE
DIM r AS R
ON ERROR GOTO Handler
OPEN "open.isam" FOR ISAM R "Alt" AS #1
BEGINTRANS
r.Nr = 1
INSERT #1, r
OPEN "open.isam" FOR ISAM R "Alt" AS #2
PRINT "sichtbar="; LTRIM$(STR$(LOF(2)))
OPEN "open.isam" FOR ISAM R "Neu" AS #3
INSERT #3, r
CLOSE
ROLLBACK ALL
OPEN "open.isam" FOR ISAM R "Alt" AS #1
PRINT "nach Ruecknahme="; LTRIM$(STR$(LOF(1)))
DELETETABLE "open.isam", "Neu"
CLOSE
PRINT "fertig"
END
Handler:
PRINT "ERR="; LTRIM$(STR$(ERR))
RESUME NEXT