$Account: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (Dme moved page $ACCOUNT to $Account)
m (misc cleanup)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{DISPLAYTITLE:$Account}}
{{DISPLAYTITLE:$Account}}
<p>The $ACCOUNT function returns a variable-length character string equal to the account under which the user is logged into <var class="product">Model&nbsp;204</var>. If the login feature is not in use, $ACCOUNT returns the string 'NO ACCOUNT'. This function takes no arguments. The ACCOUNT parameter returns the same value as the $ACCOUNT function. See the Rocket <var class="product">Model&nbsp;204</var> Parameter and Command Reference Manual.             </p>
<p>
<b>Example</b>
The <var>$Account</var> function returns a variable-length character string equal to the account under which the user is logged into <var class="product">Model&nbsp;204</var>. If the login feature is not in use, <var>$Account</var> returns the string <code>NO ACCOUNT</code>. </p>
 
This function takes no arguments.  
 
The <var>[[ACCOUNT parameter|ACCOUNT]]</var> parameter returns the same value as the <var>$Account</var> function.  
 
==Example==
<p class="code">BEGIN
<p class="code">BEGIN
SET HEADER 1 'MORTON CORPORATION' -
SET HEADER 1 'MORTON CORPORATION' -
Line 7: Line 13:
SET HEADER 2
SET HEADER 2
SET HEADER 3 'ACCOUNT: ' AT COLUMN 10 -
SET HEADER 3 'ACCOUNT: ' AT COLUMN 10 -
   WITH $ACCOUNT
   WITH $Account
       .
       .
       .
       .
       .  
       .  
</p>
</p>
[[Category:SOUL $functions]]
[[Category:SOUL $functions]]

Latest revision as of 20:51, 9 March 2015

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

This function takes no arguments.

The ACCOUNT parameter returns the same value as the $Account function.

Example

BEGIN SET HEADER 1 'MORTON CORPORATION' - AT COLUMN 10 SET HEADER 2 SET HEADER 3 'ACCOUNT: ' AT COLUMN 10 - WITH $Account . . .