$TermId: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Syntax) |
||
Line 14: | Line 14: | ||
</p> | </p> | ||
<p>%term is set to either a null or 8-byte string.</p> | <p> | ||
<var class="term">%term</var> is set to either a null or 8-byte string.</p> | |||
==Example== | ==Example== |
Revision as of 22:29, 24 July 2013
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 8-byte string.
Example
The following program displays the user's terminal ID:
B PRINT $TermId END