Increment

inc  n (number)

Increment a number by 1. Equivalent to n + 1

Introduced in v2.1

Examples

# Example 1

inc 1



# returns 2



# Example 2

inc -1



# returns 0