vipsi - the friendly vip script interpreter

Functions

Numeric functions

index

<number> = Numeric functions: indexindex <variable>
<number> = Numeric functions: indexindex ( <variable> )

Instructions: getGet position of a Glossary: Variable, var_refvariable in it's enclosing Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Flow control: if … thenIf you know a Glossary: Variable, var_refvariable by Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
, you can Instructions: getget it's Numeric functions: indexindex in Flow control: if … then
Flow control: try … then
the
enclosing List functions: globals
Shell Immediate Commands: globals
globals
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
List functions: localslocals Glossary: Variable, var_refvariables Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Flow control: if … thenIf you know a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
item's Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
you can Instructions: getget it's position in Flow control: if … then
Flow control: try … then
the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
.

Numeric functions: indexIndexes start Operators: Make Identifier "@"at 1.

As with all Vipsi command syntax: Functions
Functions
Glossary: Function
functions
which accept exactly one Vipsi command syntax: Arguments
Glossary: Arguments
argument
Flow control: if … then
Flow control: try … then
the
Separators: Round brackets "( … )"
Functions with varying return types: bracket expression "()"
parenthesis
are optional Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may be omitted Flow control: if … then
Flow control: if … then
if the
Vipsi command syntax: Arguments
Glossary: Arguments
argument
is no Vipsi command syntax: Expressions
Glossary: Expression
expression
with Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
.

e.g.:

vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
a,b,c,d,e
vipsi> Numeric functions: indexindex b = 2 vipsi> Numeric functions: indexindex(List functions: globals
Shell Immediate Commands: globals
globals
[2])
= 2 vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
z={1,2,3,i=4,5}
vipsi> Numeric functions: indexindex z.i = 4 vipsi>

Valid HTML   Valid CSS