Why does global initializers need to be constant?

BlitzMax Forums/BlitzMax Programming/Why does global initializers need to be constant?

The globals have to be constant because they are kept as data in memory. Basically in the data section of the program, where all the global variables are kept there is a variable called, __bb_Test_List, and the compiler just makes references to Test.List go to that. So since it is hardcoded into the program, it cannot be changed. Check out the assembly code if you dont get what im saying.