Welcome to the PICAXE forum.
The PICAXE X2's have variety of types of memory ...
Variables (RAM)
Data Ram (RAM)
Scratchpad (RAM)
Data Eeprom (internal Eeprom)
Program Storage (Flash)
Table Data (Flash)
Access to External I2C Eeprom (external Eeprom)
Both Program Flash and External I2C Eeprom can store program code. These are stored in 'Slots'. Slots 0-3 are held in Internal Flash, Slots 4 and upwards are held in External I2C Eeprom. How many of slot 0-3 are available depends on the particular X2; 20X2 has just Slot 0, 28X2 and 40X2 have Slots 0 to 3.
Variables, Data Ram, Scratchpad and Data Eeprom are a common resource, one set, regardless of number of slots, shared by all program slots.
Table Data, I believe, is per slot. Thus a READTABLE in one slot will get data from its own TABLE data, another program in a different slot from its own TABLE data.