Today’s exercise was Matrix. You load a table of integers from file and return a given row or column.

Last night I put in a bunch of work and I think I got DIM/arrays working (no REDIM). I think I do have a slight problem where the old BASIC programs assume the array starts at 1 instead of 0. I tried just adding one to the array rank but I was getting some errors in bagels.bas, and amazing.bas seemed to have been caught in an infinite loop. The problems could also be artifacts of trying to convert the code to my basic instead of the old ones.

I does look like I had a bug in INT. I was rounding, but it should round down instead. I think this was the source of the problems with bagels.bas (amazing.bas is still broken). I started on read/data/restore. I think I have data working but have nothing to test yet so you get a screen shot and playthrough of bagels.bas.