gc
gc(
[ t_string ]
)
=> nil
Description
Forces a garbage collection. This function is also called by the system.
Garbage collection (gc) refers to the process in which SKILL locates storage cells that are no longer needed (thus the term garbage) and recycles them by putting them back on the free storage list. Garbage collection is also called by the system. Garbage collection is transparent to SKILL users and to users of applications built on top of SKILL.
You can turn on the printing of garbage collection messages by setting the _gcprint variable to t (that is, _gcprint=t). Garbage collection can be turned off at any time by setting the gcdisable variable to t. To enable garbage collection again, you can restore gcdisable to its previous value. You can force a garbage collection at any time by calling the gc function.
Arguments
Value Returned
Examples
gc( )
=> nil
Related Topics
Return to top