In my project I've come to situation where I _m u s t_ use load.view & discard.view-commands as many times as user wants (there is not enough memory for loading every view at f5-part at the same time). Here's an example:
if(v27 == 1){
load.view(7);
// Code which will use view 7
discard.view(7);
}
As you might guess, code above will cause inevitable out of script, but I hope that pop.script-function (aka unknown172) added to following function will save my ass this time.
if(v27 == 1){
pop.script();
load.view(7);
// Code which will use view 7
discard.view(7);
}
In preliminary tests, show.mem-function shows that max.script stays stable when I use pop.script-function. But I got a bad feeling that I solved this dilemma too easily (yes, I'm a paranoiac

).
So, does anyone of you know if there might appear anykind of problems due to using pop.script repeatedly? Will it fail in some point and script-size starts to grow again? Or will something else bad happen?
You'll have my sincere thanks of possible answer(s) in advance.