discard
The discard
statement is used to delete a named buffer.
Syntax
discard
{buffer_name}
Details
The discard
statement will delete the named buffer and free the memory used to store its contents. The statement takes immediate effect and any attempt to reference the buffer afterwards (at least until such time as another buffer with the same name is created) will cause the USE script to log an error and fail.
Example
Last updated