thank you for the indepth look into this friends.

When looking at the "variables" page in the manual, it describes the var types, short/char/var/int/float, and each of these is also described as size in bytes, which I assume is how much memory it requires to use. So if you declare boop before the while(1) loop, the engine allocated 8bytes of memory for this variable, and never has to allocate memory for this again.

But if you declare boop within a loop, is the engine continually adding 8bytes every frame?....which means if you leave it on long enough the engine would run out of memory lol, which I think doesnt happen.

Code:
action super_thing()
{
  while(1)
  { // Boop is "allocated" here
    var Boop; // Boop is undefined here
    Boop+=1*time_step; // add something to an undefined value will result in an undefined value
  } // Boop is "invalidated" here
}



this is where it made sense for me laugh Thank you