MivaScript 5.36 added support for s.null. s.null will always be null. Assigning a value to s.null does not change the value of s.null and avoids keeping the result of a function or expression in memory.
You can assign variables to s.null when you do not need to use the return variable for anything. By assigning variables to s.null, it more clearly indicates that the variable will not be used (as opposed to l.result or l.success). Just be sure you do not pass s.null (or variables assign to s.null by reference) into MivaScript or mvt:do functions
<mvt:do file="g.Module_Library_DB" name="l.success" value="Product_Load_Code( 'test', l.product )" />
<mvt:assign name="NULL" value="miva_array_insert(l.foo, 'Foobar', -1)" /> <mvt:do file="g.Module_Library_DB" name="s.null" value="Product_Load_Code( 'test', l.product )" />
<mvt:assign name="s.null" value="miva_array_insert(l.foo, 'Foobar', -1)" />