MHaensel Posted October 8, 2022 Share Posted October 8, 2022 I've been playing around with Model II BASIC and graphics basic (BASICG) over the last few days. This BASIC has some REALLY nice business-oriented features. Error processing is pretty fancy for a 1980-era BASIC! When an error hits, you can . . . * Trap it with ON ERROR GOTO * Get the line number and error code using ERL and ERR * Deal with the problem programmatically and RESUME or RESUME <line number> * Test your error handling code by triggering error conditions using ERROR! All together, this would make it possible to write professional applications in BASIC, since programs could recover gracefully from errors. Other nice stuff: * Print Using has a really nice implementation * Print@ is incredibly useful - looking back, I cringe to think how I lived without it * Field-oriented file I/O * Statements to store/save numeric values directly without translating to/from strings: MKI$/VCI save integers to/read from strings MKS$/VCS for single-precsion values MKD$/VCD for double-precision values * Solid hires graphics board support: shape-drawing, arc, line, and fill functions almost tailor-made for business graphics One feature that puzzles me: 40 column mode, on a TRS-80 Model II? It almost feels like a mistake. Did anyone ever use this? Why? But overall I am impressed. This BASIC feels smooth and slick, especially for something copyright 1980. 1 Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.