RequestValue (UserStatistics function): Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
m (→Examples) |
||
Line 36: | Line 36: | ||
The following statements respectively assign | The following statements respectively assign | ||
and print a Request statistic value: | and print a Request statistic value: | ||
< | <p class="code">%num = %stat:requestValue('dkpr') | ||
printText PDL highwater mark: {%stat:requestValue('PDL')} | |||
</p> | |||
</ |
Revision as of 17:04, 28 February 2011
Value of specified Request statistic
RequestValue is a member of the UserStatistics class.
This function returns the value of a Request statistic.
The method cancels the request if it is applied to a statistic that is exclusively a Login (also called Final) statistic.
Syntax
%val = %ustat:RequestValue(statistic)
Syntax terms
- %val
- A numeric variable to contain the value of the specified statistic that is contained in the method object.
- %ustat
- A UserStatistics object variable.
- statistic
- This case-independent string contains the name of a Model 204 user statistic. Only the names of Model 204 Request statistics are valid. All other names return an UnknownStatistic exception.
Usage Notes
- The Value function returns the value of a Model 204 user Login statistic.
Examples
The following statements respectively assign and print a Request statistic value:
%num = %stat:requestValue('dkpr') printText PDL highwater mark: {%stat:requestValue('PDL')}