Increment

 

 

 

Increment

 

Description

Provides a number whose value increments between calls

 

Arguments

1.Increment - Name of the Macro.

2.Start - The starting number to begin incrementing from and which will be returned the first time the macro is called.  Default is 0.

3.Increment - The number by which successive results are incremented by.  Default is 1.

4.Key - A unique string value to use if multiple sets of values should be incremented.

 

Examples

[Increment]

This returns the value 0 for the first usage and then 1 for the next usage.

 

[Increment|1000|10]

This returns the value 1000 for the first usage and then 1010 for the next usage.

 

[Increment|||A]

This returns the value 0 for the first usage and then 1 for the next usage and does not affect the results of other increment macros unless they provide a key of A.

 


Copyright © 2024 pasUNITY, Inc.

 

Send comments on this topic.