vipsi - the friendly vip script interpreter

Functions

Numeric functions

isdir

<number> = Numeric functions: isdirisdir <path>
<number> = Numeric functions: isdirisdir ( <path> )

Test whether Flow control: if … then
Flow control: try … then
the
path refers to a directory.

Flow control: returnReturns a numeric Glossary: Valuevalue which is either 1 (true) Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
0 (false).

Flow control: if … then
Flow control: try … then
The
path must be a Glossary: text, text_valtext value Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
may be a full Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
partial path Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
start with "~" for Flow control: if … then
Flow control: try … then
the
user's home directory. Symbolic Text functions: link
Instructions: link
links
are followed. Flow control: if … then
Flow control: try … then
The
path must Numeric functions: existsexist except for Flow control: if … then
Flow control: try … then
the
last path component, which may be broken. Flow control: if … then
Flow control: try … then
Else
List functions: thisthis Vipsi command syntax: Functions
Functions
Glossary: Function
function
aborts with an error, which may be caught with Flow control: try … thentry.

Flow control: if … then
Flow control: try … then
The
following is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of what Numeric functions: isdirisdir Flow control: returnreturns under special Flow controlconditions.

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: putput Numeric functions: isdirisdir("~/.vipsi")  1
vipsi>  

Valid HTML   Valid CSS