Just to add a little detail, MS BASIC’s capabilities varied pretty widely across versions and machines, and it wasn’t helped that Commodore had gotten a sweet heart deal on MS BASIC in 1977 that included no royalties and as such they never upgraded the version of MS BASIC - as that would involve giving the now much bigger and more apt Microsoft another whack at the terms.