sub

-

subtract given values and return result


Parameters

sub valueA :integer :floating :complex :rational :literal :pathliteral :quantity :color :object
    valueB :integer :floating :complex :rational :quantity :color :object

Returns

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

Examples

copy
print sub 2 1 ; 1 print 5 - 3 ; 2

copy
a: 7 sub 'a 2 ; a: 5

Related