$TermId: Difference between revisions

From m204wiki
Jump to navigation Jump to search
mNo edit summary
(Automatically generated page update)
 
Line 2: Line 2:
<span class="pageSubtitle">Terminal ID of current user thread</span>
<span class="pageSubtitle">Terminal ID of current user thread</span>


<p class="warn"><b>Note: </b>Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $TermId function.</p>
<p class="warn"><b>Note: </b>Many $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $TermId function.</p>


The <var>$TermId</var> function accepts no arguments, and it returns either of these:
The <var>$TermId</var> function accepts no arguments, and it returns either of these:

Latest revision as of 23:23, 20 September 2018

Terminal ID of current user thread

Note: Many $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