vipsi - the friendly vip script interpreter

Operators

Append Text to Variable "#="

<text_var> #= <text>

Append Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Text functions: stringto text Glossary: Variable, var_refvariable.

Flow control: if … thenIf one of both Glossary: Operator
Glossary: Operand
operands
is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
operation is performed on all items. recursively. Flow control: if … thenIf both Glossary: Operator
Glossary: Operand
operands
are Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
lists
Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
operation is applied to matching items. Eventually remaining items in Flow control: if … then
Flow control: try … then
the
longer Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
are kept Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
copied as is.

Flow control: if … thenIf either Glossary: Operator
Glossary: Operand
operand
is no Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
no 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 Text functions: stringto text first.

vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a="abc"; a #= "de"; Instructions: putput a;
abcde vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a={1,2,3}; a #= "X" ; Instructions: putput a;
{ "1X", "2X", "3X" } vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a="X"; a #= {1,2,3} Instructions: putput a;
{ "X1", "X2", "X3" } vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a={1,2,3}; a #= {4,5}; Instructions: putput a;
{ "14", "25", "3" } 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