$Userid: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Automatically generated page update)
 
m (add <var>'s)
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<p>The $USERID function returns a variable-length character string equal to the user ID under which the user is logged into <var class="product">Model&nbsp;204</var>. If the login feature is not in use, $USERID returns the string NO USERID.     </p>
<p>
<p>The USERID parameter returns the same value as the $USERID function. See the Rocket <var class="product">Model&nbsp;204</var> Parameter and Command Reference Manual. The $USERID function takes no arguments. </p>
The <var>$Userid</var> function returns a variable-length character string equal to the user ID under which the user is logged into <var class="product">Model&nbsp;204</var>. If the login feature is not in use, <var>$Userid</var> returns the string <code>NO USERID</code>.   </p>
<b>Example</b>
<p>
The <var>[[USERID parameter|USERID]]</var> parameter returns the same value as the <var>$Userid</var> function, and <var>[[$Acct]]</var> returns the same value as <var>$Userid</var>.</p>
<p>
The <var>$Userid</var> function takes no arguments. </p>
 
===Example===
<p class="code">BEGIN
<p class="code">BEGIN
SET HEADER 1 'MONTHLY SALES REPORT' -
SET HEADER 1 'MONTHLY SALES REPORT' AT COLUMN 10  
    AT COLUMN 10
SET HEADER 2
SET HEADER 2
SET HEADER 3 'PREPARED BY: ' AT COLUMN 10 -
SET HEADER 3 'PREPARED BY: ' AT COLUMN 10 WITH $USERID  
    WITH $USERID
       .
       .
       .
       .
       .  
       .  
</p>
</p>
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Latest revision as of 16:30, 8 January 2018

The $Userid function returns a variable-length character string equal to the user ID under which the user is logged into Model 204. If the login feature is not in use, $Userid returns the string NO USERID.

The USERID parameter returns the same value as the $Userid function, and $Acct returns the same value as $Userid.

The $Userid function takes no arguments.

Example

BEGIN SET HEADER 1 'MONTHLY SALES REPORT' AT COLUMN 10 SET HEADER 2 SET HEADER 3 'PREPARED BY: ' AT COLUMN 10 WITH $USERID . . .