$TermId: Difference between revisions
Jump to navigation
Jump to search
(Automatically generated page update) |
EllieWiccan (talk | contribs) (Automatically generated page update) |
||
(2 intermediate revisions by 2 users not shown) | |||
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> | <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: | ||
Line 28: | Line 28: | ||
<li>[[List of $functions|Sirius functions]]</li> | <li>[[List of $functions|Sirius functions]]</li> | ||
<li>[[Fast/Unload User Language Interface]]</li> | <li>[[Fast/Unload User Language Interface]]</li> | ||
<li>[[Media:JoclrNew.pdf|Janus Open Client]</li> | <li>[[Media:JoclrNew.pdf|Janus Open Client]]</li> | ||
<li>[ | <li>[[Media:JosrvrNew.pdf|Janus Open Server]]</li> | ||
<li>[[Janus Sockets]]</li> | <li>[[Janus Sockets]]</li> | ||
<li>[[Janus Web Server]]</li> | <li>[[Janus Web Server]]</li> | ||
<li>Japanese functions</li> | <li>Japanese functions</li> | ||
<li>[ | <li>[[Media:SirfieldNew.pdf|Sir2000 Field Migration Facility]]</li> | ||
</ul> | </ul> | ||
[[Category:$Functions|$TermId]] | [[Category:$Functions|$TermId]] |
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