Add CHAIN statement for loading and running chained programs with optional ALL flag to preserve variables. Extend RUN to accept a filename string argument. Implement random-access file I/O with FIELD, LSET, RSET, PUT#, GET# and the MBF conversion functions CVI/CVS/CVD/MKI$/MKS$/MKD$. Add COMMON statement (parse and skip). Five new test programs covering all new features (27 total).
5 lines
123 B
QBasic
5 lines
123 B
QBasic
10 REM RUN "filename" test
|
|
20 PRINT "Before RUN"
|
|
30 RUN "tests/programs/chain_target.bas"
|
|
40 PRINT "Should not reach here"
|