|
|
Whitebeam Template Reference Documentation
|
System Template
value()
Call this method to read the value of a counter
Syntax
number = rb.counter.value(counterName)
Parameters
The 'value' method takes 1 parameter:
| Name | Type/Value | Range/Length | Description | | counterName | string | | Required. The name of the counte |
Results
The 'value' method returns number:
| Type/Value | Range/Length | Description |
| number |
  |
Return the current value of the counter, or null if the counter doesn't exist.
|
Example |
|
|
(loadtime : 64ms) |