$TermId: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{DISPLAYTITLE:$TermId}} | {{DISPLAYTITLE:$TermId}} | ||
<span class="pageSubtitle" | <span class="pageSubtitle">Terminal ID of current user thread</span> | ||
<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> | <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> |
Revision as of 21:22, 22 November 2011
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" />
The following program displays the user's terminal id.
B PRINT $TermId END