$TermId: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
mNo edit summary
Line 2: Line 2:
<span class="pageSubtitle"><section begin="desc" />Terminal ID of current user thread<section end="desc" /></span>
<span class="pageSubtitle"><section begin="desc" />Terminal ID of current user thread<section end="desc" /></span>


<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. The OO equivalent for the $TermId function is [[to be entered]].</p>
<p class="warning">Most Sirius $functions have been deprecated in favor of Object Oriented methods. There is no OO equivalent for the $TermId function.</p>


This function returns the terminal id of the current user thread.  
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.
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==
==Syntax==
<p class="syntax"><section begin="syntax" /> %TERM = $TermId
<p class="syntax"><section begin="syntax" /> %TERM = $TermId
Line 13: Line 14:
</p>
</p>
<p class="caption">%TERMID is set to either a null or 8-byte string.</p>
<p class="caption">%TERMID is set to either a null or 8-byte string.</p>


The following program displays the user's terminal id.
The following program displays the user's terminal id.
Line 34: Line 34:
<p class="caption">Products authorizing $TermId
<p class="caption">Products authorizing $TermId
</p>
</p>


[[Category:$Functions|$TermId]]
[[Category:$Functions|$TermId]]

Revision as of 20:41, 8 February 2011

<section begin="desc" />Terminal ID of current user thread<section end="desc" />

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