next | previous | forward | backward | up | top | index | toc | Macaulay2 website
Visualize :: closePort

closePort -- closes and open port


When a port is opened with the openPort method, closePort() is used to close the port. If the user forgets to close the port, closing or restarting Macaulay2 will automatically close the port.

i1 : closePort()
--Port null is now closing. This could take a few seconds.


This method does not have an input. In order for it to run, you must write the '()' at the end as follows: closePort().

See also

Ways to use closePort :

For the programmer

The object closePort is a method function.