It's described in detail in PureBasic's help:hujambo wrote:My understating, right or wrong, is that the following:
Just starts the enumeration count at 500.. not that it reserves 500 images?Code: Select all
Enumeration Images 500 ; Images #img0 #img1 #img2 #img3 #headerImg #searchIcon EndEnumeration

Tab Contents > Various Topics > PureBasic objects overview
PureBasic help for PureBasic objects wrote:I. Indexed numbering
The static, indexed way, allows you to reference an object by a predefined numeric value. The first available index number is 0 and subsequent indexes are allocated sequentially. This means that if you use the number 0 and then the number 1000, 1001 indexes will be allocated and 999 (from 1 to 999) will be unused, which is not an efficient way to use indexed objects...