vipsi - the friendly vip script interpreter

Operators

Assignment "="

<variable> = <value>

Operators: Assignment "="Assign Glossary: Valuevalue to Glossary: Variable, var_refvariable.

Operators: Assignment "="
Built-in operators: Assignments:
Assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
are right-oriented, that means: Flow control: if … thenif multiple Operators: Assignment "="
Built-in operators: Assignments:
assignments
are made in one Vipsi command syntax: Expressions
Glossary: Expression
expression
, they are evaluated right-to-left.

Flow control: if … then
Flow control: try … then
The
right-side Glossary: Operator
Glossary: Operand
operand
<value> may be of any Data Types
Invariants: Data types
data type
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
Data Types
Invariants: Data types
data type
of Flow control: if … then
Flow control: try … then
the
left-side Glossary: Operator
Glossary: Operand
operand
<variable> is ignored.

Flow control: if … then
Flow control: try … then
The
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
= Flow control: returnreturns a reference to Flow control: if … then
Flow control: try … then
the
left-side Glossary: Operator
Glossary: Operand
operand
<variable>. Most times you probably ignore Flow control: if … then
Flow control: try … then
the
result Glossary: Valuevalue. Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
And
Checkout source:: If you don't have a developer login at sourceforgeif you don't, you are probably only interested in Flow control: if … then
Flow control: try … then
the
Glossary: Valuevalue of <variable> Flow control: if … then
Flow control: try … then
then
.

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
: though Flow control: if … then
Flow control: try … then
the
Operators: Assignment "="
Built-in operators: Assignments:
assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
Flow control: returnreturns a result (Flow control: if … then
Flow control: try … then
the
Instructions: newnew Glossary: Valuevalue of Flow control: if … then
Flow control: try … then
the
Glossary: Variable, var_refvariable) List functions: thisthis result is Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
automagically printed in Flow control: if … then
Flow control: try … then
the
interactive vipsi shell. List functions: thisThis is done because Operators: Assignment "="
Built-in operators: Assignments:
assignments
Flow control: do … loopdo Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
start with a special Vipsi command syntax: Instructions
Instructions
Glossary: Instruction
instruction
which "eats" Flow control: if … then
Flow control: try … then
the
result.

e.g.:

Instructions: var
How does VScript::Value() work?: Var*&
var
a = 47 Instructions: var
How does VScript::Value() work?: Var*&
var
x,y,z; x=y=z=47

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
:
all Operators: Assignment "="
Built-in operators: Assignments:
assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
may be changed, so that Flow control: if … then
Flow control: try … then
the
Flow control: do … loopdo no longer 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
. Changing Flow control: if … then
Flow control: try … then
the
result to 'no Glossary: Valuevalue' will also allow 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. Also, Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
printing results of Operators: Assignment "="
Built-in operators: Assignments:
assignments
in Flow control: if … then
Flow control: try … then
the
shell would become more clear.

Valid HTML   Valid CSS