Navigation:  Macroses >

Counters

Previous pageReturn to chapter overviewNext page
Show/Hide Hidden Text

 

Init counter with the value

While initializing the counter specify its original value and the name that will allow you to receive or increase the value later.

 

Example

 

Counter Name

count1

Initial value

1

 

Macro

{-Counter.Set-|-count1-|-1-}

 

Result

1

 

Increase counter value

Specify the name of the counter, whose value must be increased  and indicate the parameter — how many times the value must be increased.

 

Example

 

Counter Name

count1

How much to increase the value

10

 

Macro

{-Counter.Add-|-count1-|-10-}

 

Result

11

 

Multiple counter value

Specify the name of the counter, whose value must be increased  and indicate the parameter — how many times the value must be increased.

 

Example

 

Counter Name

count1

How many times is to increase the value

3

 

Macro

{-Counter.Multiple-|-count1-|-3-}

 

Result

33

 

Get counter value

To check the value of the required counter, specify its name.

 

Example

 

Counter Name

count1

 

Macro

{-Counter.Get-|-count1-}

 

Result

33