No discussion of BASICs on the 8-bit computers of the late '70s and early '80s would be complete without mentioning the importance of the PEEK and POKE functions for directly reading and writing to memory.
For more complex operations, MBASIC allowed user-defined functions that could be called from a BASIC program.