vipsi - the friendly vip script interpreter

Operators

Add "+"

<number> = <number> + <number>
<number> = + <number>

Operators: Add to Variable "+="
Operators: Add "+"
Add
two numeric Glossary: Valuevalues.

Operators: Add to Variable "+="
Operators: Add "+"
Add
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: Operand
operand
is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
the
result is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, where Flow control: if … then
Flow control: try … then
the
operation was applied to all items. Flow control: if … thenIf both are Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
lists
, 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 … then
the
operation is applied to all matching items.

e.g.:

vipsi> 4+5  = 9
vipsi> Instructions: putput {4,5}+3  = { 7, 8 }
vipsi> Instructions: putput {2,3}+{4,5}  = { 6, 8 }
vipsi>  
Monadic operator "+"

Superfluxous Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
which Operators: Bitwise Not "~"complements Flow control: if … then
Flow control: try … then
the
'-' Add "+": Monadic operator "+"
Subtract "-": Monadic operator "-"
Built-in operators: monadic operators:
monadic operator
.

e.g.:

vipsi> +(2*3)  = 6
vipsi>  

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
: preceding a Glossary: text, text_valtext value with Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
'+' Text functions: convert
Instructions: convert
converts
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>  
Other usage

'+' is also used as a (optional Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
rarely used) positive Glossary: number, num_valnumber Numeric functions: signsign for Literals: Number literals
Numbers: Number literals
number literals
.

e.g.:

+123, +$affe, +"0123", +"$affe"

Valid HTML   Valid CSS