$Userid: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Mlarocca moved page $USERID to $Userid: Lower case change)
m (add <var>'s)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<p>
<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>
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>
<p>
<p>
The <var>[[USERID parameter|USERID]]</var> parameter returns the same value as the <var>$USERID</var> function. </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>
<p>
The <var>$USERID</var> function takes no arguments. </p>
The <var>$Userid</var> function takes no arguments. </p>


===Example===
===Example===

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 . . .