Skip to content

Math.Inc

Name - Description Default Type
<input> The float or integer (or sequence of floats or integers) to increase by 1. Any
<output> The input increased by 1. Any
Value The value to apply the operation to. none Var(Int)Var(Int2)Var(Int3)Var(Int4)Var(Int8)Var(Int16)Var(Float)Var(Float2)Var(Float3)Var(Float4)Var(Color)Var([Any])

Increases the input by 1.

Details

This shard increments the :Value parameter by 1.

The :Value parameter should be a variable that holds a valid numeric value.

See also

Examples

1
2
3
4
5
6
 10.0 >= .mutable
(Math.Inc
 ;:Value
 .mutable)
.mutable (Log)
(Assert.Is 11.0 true)