vipsi - the friendly vip script interpreter

Functions

Numeric functions

isproc

mber> = Numeric functions: isprocisproc <value>
mber> = Numeric functions: isprocisproc ( <value> )

Test whether Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Arguments
Glossary: Arguments
argument
is a Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedure
Glossary: Valuevalue.

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: if … then
If the
Glossary: Valuevalue is a Glossary: Variable, var_refvariable reference, Flow control: if … then
Flow control: try … then
then
List functions: thisthis Glossary: Variable, var_refvariable must Numeric functions: existsexist, Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Numeric functions: isprocisproc will abort with an error.

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> Numeric functions: istextistext("foo")  = 0
vipsi> Numeric functions: istextistext({})  = 0
vipsi> Numeric functions: istextistext 771  0
vipsi> Instructions: procproc Test(){}
vipsi> Numeric functions: istextistext(Test)  1
vipsi>  

Valid HTML   Valid CSS