Re:Birth of BASIC (2014) [video]
by tasty_freeze on Tuesday July 14, 2020 @09:42PM
(#23840283)
For anyone who has only used Microsoft dialect BASICs, seeing the original Dartmouth BASIC features might be surprising. I learned BASIC on a Wang 2200 computer (circa 1973), which followed Dartmouth BASIC pretty closely and added a ton of quirky Wang-specific features on top. The following, as far as I recall, would have been valid in the 1964 Dartmouth BASIC:
By combining INV with matrix multiply, it was a snap to solve systems of linear equations. The examples above are all square matrices, but many of the actions worked on non-square matrices too. It was also possible to change the dimensions of a matrix so long as the total number of elements was the same or less than what was allocated by the original DIM statement.
[ Parent
| on HN ]
Re:Birth of BASIC (2014) [video]
by tasty_freeze on Wednesday July 15, 2020 @02:08PM
(#23849180)
Lines 100-120 were intended to start with MAT C=..., but I had a thinko and typed REM instead.