AGI adds a script entry to the script stack each time a view resource is unloaded.
Because of the way that AGI manages memory on the heap, resources must be unloaded in reverse order of the way they were originally loaded, or unexpected results may occur.
Attempting to discard a resource that has not been loaded will raise trappable error #1.
load.view(8) [ load view 8 ... [ do something with it ... [ make sure view 8 is no longer used before unloading discard.view(8);
|Required Interpreter Version:||Available in all AGI versions.|
|Byte-Code Value:||32 (0x20 hex)|