vipsi - the friendly vip script interpreter

Operators

Pre- and Postincrement "++"

<number> = ++<num_var>
<number> = <num_var>++

Pre- Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
post-increment a numeric Glossary: Variable, var_refvariable.

Operators: Pre- and Postincrement "++"Preincrement increments Flow control: if … then
Flow control: try … then
the
Glossary: Variable, var_refvariable by 1 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
then
Flow control: returnreturns Flow control: if … then
Flow control: try … then
the
incremented Glossary: Valuevalue as result.

Operators: Pre- and Postincrement "++"Postincrement increments Flow control: if … then
Flow control: try … then
the
Glossary: Variable, var_refvariable by 1 but Flow control: returnreturns Flow control: if … then
Flow control: try … then
the
not-yet incremented Glossary: Valuevalue as result.

Flow control: if … then
Flow control: if … then
If the
target Glossary: Variable, var_refvariable is a Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
, Flow control: if … then
Flow control: try … then
then
it is converted to a Glossary: number, num_valnumber first.

Flow control: if … then
Flow control: if … then
If the
target Glossary: Variable, var_refvariable 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.

e.g.:

Instructions: var
How does VScript::Value() work?: Var*&
var
i=0; Flow control: do … loopdo Flow control: whilewhile i<10; Instructions: putput i++; Flow control: do … looploop

Valid HTML   Valid CSS