$TermId: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
(Automatically generated page update)
Line 28: Line 28:
<li>[[List of $functions|Sirius functions]]</li>
<li>[[List of $functions|Sirius functions]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Fast/Unload User Language Interface]]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]</li>
<li>[[Media:JoclrNew.pdf|Janus Open Client]]</li>
<li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li>
<li>[http://m204wiki.rocketsoftware.com/images/1/17/JosrvrNew.pdf Janus Open Server]</li>
<li>[[Janus Sockets]]</li>
<li>[[Janus Sockets]]</li>

Revision as of 22:02, 19 February 2015

Terminal ID of current user thread

Note: Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $TermId function.

The $TermId function accepts no arguments, and it returns either of these:

  • An 8-byte string containing the terminal id.
  • A null string indicating that a terminal id is not available.

Syntax

%term = $TermId

%term is set to either a null or an 8-byte string.

Example

The following program displays the user's terminal ID:

B PRINT $TermId END

Products authorizing $TermId