$Userid: Difference between revisions
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 $ | <p> | ||
<p>The USERID parameter returns the same value as the $ | 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 204</var>. If the login feature is not in use, <var>$Userid</var> returns the string <code>NO USERID</code>. </p> | ||
<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 | ||
SET HEADER 2 | SET HEADER 2 | ||
SET HEADER 3 'PREPARED BY: ' AT COLUMN 10 | SET HEADER 3 'PREPARED BY: ' AT COLUMN 10 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 . . .