<number> = <number> - <number>
<number> = - <number>
Operators: Subtract from Variable "-=" Operators: Subtract "-"Subtract two numerical Glossary: Valuevalues.
Operators: Subtract from Variable "-=" Operators: Subtract "-"Subtract two numeric Glossary: Valuevalues Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Glossary: text, text_valtext values, which are converted to Data Types: Numbersnumbers, results in a Glossary: number, num_valnumber. Flow control: if … thenIf one Glossary: Operator Glossary: Operandoperand is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, Flow control: if … then Flow control: try … thenthe result is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, where Flow control: if … then Flow control: try … thenthe operation was applied to all items. Flow control: if … thenIf both are Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallists, they should Numeric functions: matchmatch in size Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: if … then Flow control: try … thenthe operation is applied to all matching items.
e.g.:
vipsi> 9-5 = 4
vipsi> Instructions: putput {4,5}-3 = { 1, 2 }
vipsi> Instructions: putput {4,5}-{2,3} = { 2, 2 }
vipsi>
Operators: Bitwise Not "~"Complements Flow control: if … then Flow control: try … thenthe Glossary: number, num_valnumber Numeric functions: signsign of a Glossary: Valuevalue.
e.g.:
vipsi> -(2*3) = -6
vipsi>
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: preceding a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext with Vipsi command syntax: Operators Operators Glossary: Operatoroperator '-' Text functions: convert Instructions: convertconverts it to a Glossary: number, num_valnumber.
vipsi> Numeric functions: istextistext("2") = 1
vipsi> Numeric functions: istextistext(-"2") = 0
vipsi> Numeric functions: isnumberisnumber(-"2") = 1
vipsi>
'-' is also used as a negative Glossary: number, num_valnumber Numeric functions: signsign for Literals: Number literals Numbers: Number literalsnumber literals.
e.g.:
Instructions: putput -123, -$affe, -"0123", -"$affe"
|