vipsi - the friendly vip script interpreter

Operators

Concatenate Lists "##"

<list> = <list> ## <list>

Operators: Append Text to Variable "#="
Operators: Append List to Variable "##="
Operators: Concatenate Texts "#"
Operators: Concatenate Lists "##"
Concatenate
two Glossary: list, list_vallist values. Flow control: returnReturns a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Flow control: if … thenIf one Glossary: Operator
Glossary: Operand
operand
is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, it is converted to a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
first, just by creating a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
with List functions: thisthis Glossary: Operator
Glossary: Operand
operand
as a single item.

vipsi> Instructions: putput {1,2,3} ## {4,5,6}  =  { 1, 2, 3, 4, 5, 6 }
vipsi> Instructions: putput {1,2,3} ## "anton"  =  { 1, 2, 3, "anton" }
vipsi> Instructions: putput "anton" ## {1,2,3}  =  { "anton", 1, 2, 3 }
vipsi> Instructions: putput "ant" ## "0123.40"  =  { "ant", "0123.40" }
vipsi> Instructions: putput "anton" ## 0123.40  =  { "anton", 123.4 }
vipsi> Instructions: putput 123.456 ## 0123.40  =  { 123.456, 123.4 }
vipsi>  

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
: Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
## Operators: Append Text to Variable "#="
Operators: Append List to Variable "##="
Operators: Concatenate Texts "#"
Operators: Concatenate Lists "##"
concatenates
two Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
lists
. Flow control: if … thenIf you wish to append a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
as a single item Operators: Make Identifier "@"at Flow control: if … then
Flow control: try … then
the
Flow control: end
Shell Immediate Commands: exit, quit, end
end
of another Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
then
you must Instructions: putput it into a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
first:

vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a={1,2,3} i4="i4", i5={5,6}
vipsi> a ## i4 o>= { 1, 2, 3, "i4" } vipsi> a ## {i4} o>= { 1, 2, 3, "i4" } vipsi> a ## i5 o>= { 1, 2, 3, 5, 6 } vipsi> a ## {i5} o>= { 1, 2, 3, { 5, 6 } } i>

Valid HTML   Valid CSS