User Tools

Site Tools


ugbasic:user:kw:destroy_port
Translations of this page:


ugBASIC User Manual

DESTROY PORT

SYNTAX

   DESTROY PORT portId

PURPOSE

The DESTROY PORT instruction destroy a message port that is not more needed. The portId parameter is the same one that returned the call to CREATE PORT function, and identifies the working port at that moment.

EXAMPLE

  sessionId = LOGIN( "user", "password" )
  port = CREATE PORT( sessionId, "testApp" )
  DESTROY PORT port

ABBREVIATION

 DesPrt

AVAILABLE ON

  • Commodore 64
  • Commodore 64+REU
  • TRS-80 Color Computer 3
  • TRS-80 Color Computer

ALIAS FOR

ANY PROBLEM?

If you have encountered a problem using this command, if you think there is a bug or the explanation is unclear, please open an issue for this keyword on GitHub. Thank you!

POWERED BY