vipsi - the friendly vip script interpreter

Functions

Numeric functions

max

<number> = Numeric functions: maxmax ( <number> [, <number>, …] )
<text>   = Numeric functions: maxmax ( <text> [, <text>, …] )
<number> = Numeric functions: maxmax ( <list> /*of Data Types: Numbersnumbers*/ )
<text>   = Numeric functions: maxmax ( <list> /*of Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
texts
*/ )

Shell Scripts: Return values
Appendix: Return values
Return value
of biggest Vipsi command syntax: Arguments
Glossary: Arguments
argument
.

Flow control: returnReturn Flow control: if … then
Flow control: try … then
the
biggest of Flow control: if … then
Flow control: try … then
the
supplied Glossary: Valuevalues. Operators: Make Identifier "@"At least one Glossary: Valuevalue must be supplied Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
there is no upper limit on Flow control: if … then
Flow control: try … then
the
Glossary: number, num_valnumber of Vipsi command syntax: Arguments
Glossary: Arguments
arguments
.

Flow control: if … thenIf Glossary: Variable, var_refvariables are passed to Numeric functions: maxmax Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
result may be a Glossary: Variable, var_refvariable reference. List functions: thisThis might be useful for displaying vipsi - the friendly one.: The namethe name Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Flow control: if … then
Flow control: try … then
the
like.

Flow control: if … thenIf a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
is passed as single Vipsi command syntax: Arguments
Glossary: Arguments
argument
, Flow control: if … then
Flow control: try … then
then
a reference to Flow control: if … then
Flow control: try … then
the
smallest Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
item is returned. Flow control: if … thenIf it was a Glossary: list, list_vallist value 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
Glossary: Variable, var_refvariable, Flow control: if … then
Flow control: try … then
then
Numeric functions: maxmax Flow control: do … loopdoes a trick to preserve Flow control: if … then
Flow control: try … then
the
item Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
, in case you are interested in it.

Compared Glossary: Valuevalues must be of Flow control: if … then
Flow control: try … then
the
same type. Comparing different Data Types
Invariants: Data types
data types
Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
supplying a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
which contains items of different Data Types
Invariants: Data types
data type
will generate an error.

Flow control: if … thenIf two Glossary: Valuevalues are equal, Flow control: if … then
Flow control: try … then
the
first one is returned.

e.g.:

Instructions: putput Numeric functions: maxmax( {1,6,3,4} )
Numeric functions: maxmax(a,b,c) = 0
Instructions: putput Vipsi command syntax: Identifiers (names)
Identifiers, names
Operators: Make Identifier "@"
Text functions: name
Glossary: Name, Identifier
name
( Numeric functions: maxmax(a,b) ) Flow control: if … thenif Numeric functions: maxmax(my_list)!=my_list[Numeric functions: countcount my_list] Instructions: putput "Flow control: if … then
Flow control: try … then
the
Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
seems to be Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
sorted" Flow control: if … then
Flow control: try … then
then
Instructions: putput Numeric functions: maxmax("Anton", "Berta", "Cicero")

Valid HTML   Valid CSS