Thursday, May 11, 2017

Before someone asks (not that I expect anyone to ask), the special cases I mentioned before are due to adding the ELSE at the end of the keyword, and command dispatch tables.  If ELSE had been built in from the beginning it could have been placed in a different location in the tables and no special cases would have been required.
 
The only thing important that still seems to be missing from Microcolor BASIC is OPEN, and CLOSE, which would also have other related file I/O handling.  You can duplicate some of that with CLOAD* and CSAVE* which read and write numeric arrays.  Sadly, they don't work on string arrays and that would probably require more room than would be available.
That would have been awesome for adventure games, RPGs, etc... where you have a bunch of arrays that have to be initialized from DATA statements.

2 comments:

  1. New IO not so necessary. Still have managed to make 93 text adventures using just CLOAD* and CSAVE*
    http://ifdb.tads.org/search?searchfor=tag%3ATRS-80+MC-10&sortby=&pg=all

    ReplyDelete
    Replies
    1. Maybe it's not necessary, but you'd have more RAM available if string arrays were supported

      Delete