vipsi - the friendly vip script interpreter

Operators

Assign Variable Reference "->"

<variable> -> <variable>

Operators: Assign Variable Reference "->"Assign variable reference to Glossary: Variable, var_refvariable.

Flow control: if … then
Flow control: try … then
The
right-side Glossary: Operator
Glossary: Operand
operand
<variable> may be of any Data Types
Invariants: Data types
data type
. Flow control: if … then
Flow control: try … then
The
Data Types
Invariants: Data types
data type
of Flow control: if … then
Flow control: try … then
the
left-side Glossary: Operator
Glossary: Operand
operand
is ignored. It becomes a reference Glossary: Variable, var_refvariable.

After having assigned a target to a reference Glossary: Variable, var_refvariable, all references to List functions: thisthis Glossary: Variable, var_refvariable actually refer to Flow control: if … then
Flow control: try … then
the
assigned destination. Even "Instructions: deldel <ref_var>" refers to List functions: thisthis destination.

Setting a reference to a reference Glossary: Variable, var_refvariable makes it point directly to Flow control: if … then
Flow control: try … then
the
target's target.

Setting a reference to an enclosing Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of Flow control: if … then
Flow control: try … then
the
reference Glossary: Variable, var_refvariable is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
allowed.

e.g.:

vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a=0,b=1,p
vipsi> p->a vipsi> List functions: globals
Shell Immediate Commands: globals
globals
=
{ a=0, b=1, p=0 } vipsi> p->b vipsi> List functions: globals
Shell Immediate Commands: globals
globals
=
{ a=0, b=1, p=1 } vipsi> p->List functions: globals
Shell Immediate Commands: globals
globals
***** reference Glossary: Variable, var_refvariable is child of target

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