- BASIC programs are stored in memory using a simple structure that we can investigate and manipulate. This article will show how they are stored and contains a BASIC program to go through each line of its own code and display how it is stored in memory. A good understanding of how BASIC is stored can help us to find novel ways to get the most out of BASIC and to leverage the power of the BASIC interpreter. This can be seen in a previous article: Storing Machine Code in REM Statements on the VIC-20.