$TermId: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (1 revision)
Line 9: Line 9:


==Syntax==
==Syntax==
<p class="syntax"><section begin="syntax" /> %TERM = $TermId
<p class="syntax"><section begin="syntax" />%TERM = $TermId
<section end="syntax" /></p>
<section end="syntax" /></p>
<p class="caption">$TermId Function
<p class="caption">$TermId Function

Revision as of 20:33, 24 October 2012

Terminal ID of current user thread

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

This function returns the terminal id of the current user thread.

The $TermId function accepts no arguments and returns either an 8 byte string containing the terminal id or a null string indicating that a terminal id is not available.

Syntax

<section begin="syntax" />%TERM = $TermId <section end="syntax" />

$TermId Function

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

The following program displays the user's terminal id.

B PRINT $TermId END

Products authorizing $TermId