loadDepth = i -- sets the load depth to
i, which should be a small integer, returning the old value.
During the backtrace after an error message, a position in interpreted code is displayed only if the load depth was at least as large at the time the code was parsed as the error depth is now. The load depth is incremented each time
loaddata is run.