cancel
Showing results for 
Search instead for 
Did you mean: 

counter function range

Former Member
0 Kudos

Wanted to know the range for counter function ? can we increment till any number ? initialization value can be negative ?

Thanks

Accepted Solutions (1)

Accepted Solutions (1)

former_member208856
Active Contributor
0 Kudos

you can use Negative values in this counter, range is not fixed.

Answers (2)

Answers (2)

former_member200962
Active Contributor
0 Kudos
initialization value can be negative?

Doubtful....initialization value is the basic value of count.....count of the node.....and for sure a node wont be appearing with count as -1 or -2 etc.....it will be either 0 (default assumed as 1) or more than 0

Regards,

Abhishek.

prateek
Active Contributor
0 Kudos

I haven't seen the range provided anywhere. But within one mapping, it shouldn't be a problem. Why would you require to sent the initial value as negative?

You have option of using Global containers to store values too.

Regards,

Prateek