In Microsoft BASIC, the LIST statement lists the program currently in memory to a List window, a file, or a device.