vipsi - the friendly vip script interpreter

Operators

Append List to Variable "##="

<list_var> ##= <list>

Append Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
to Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
Glossary: Variable, var_refvariable.

Flow control: if … thenIf any of both Glossary: Operator
Glossary: Operand
operands
is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
then
it is converted to a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
first.

e.g.:

Instructions: var
How does VScript::Value() work?: Var*&
var
a={2,4,8},b="abc"; a ##= "de"; b ##= a; a ##= {1,"2",3}

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
, 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}, b=a, i4="i4", i5={5,6}
vipsi> a ##= i4 = { 1, 2, 3, "i4" } vipsi> b ##= {i4} = { 1, 2, 3, "i4" } vipsi> a ##= i5 = { 1, 2, 3, "i4", 5, 6 } vipsi> b ##= {i5} = { 1, 2, 3, "i4", { 5, 6 } } vipsi>

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
:
Operators: Assignment "="
Built-in operators: Assignments:
Assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
Flow control: do … loopdo Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
Flow control: returnreturn a result Glossary: Valuevalue. There are syntactical ambiguities with Flow control: if … then
Flow control: try … then
the
"=" Numeric functions: signsign e.g. in Literals: List literals
Lists and arrays: List literals
list literals
. List functions: thisThis also allows named items in other places, e.g. passing named Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedures
for a obj-C-like syntax. (planned for Flow control: if … then
Flow control: try … then
the
future)

Valid HTML   Valid CSS