inc

increase given value by 1


Parameters

inc value :integer :floating :complex :rational :literal :quantity

Returns

  • :integer
  • :floating
  • :complex
  • :rational
  • :quantity
  • or  :nothing

Examples

copy
print inc 5 ; 6

copy
a: 4 inc 'a ; a: 5

Related