vipsi - the friendly vip script interpreter

Functions

Numeric functions

min

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

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

Flow control: returnReturn Flow control: if … then
Flow control: try … then
the
smallest 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: minmin 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: minmin 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.:

a = Numeric functions: minmin(a,99)
Instructions: putput Numeric functions: minmin( {1,6,3,4} )
Numeric functions: minmin(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: minmin(a,b) ) Flow control: if … thenif Numeric functions: minmin(my_list) != my_list[1] 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: minmin("Anton", "Berta", "Cicero")

Valid HTML   Valid CSS