vipsi - the friendly vip script interpreter

Functions

Numeric functions

istext

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

Test whether Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Arguments
Glossary: Arguments
argument
is a Glossary: text, text_valtext value.

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: isnumberisnumber 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")  = 1
vipsi> Instructions: var
How does VScript::Value() work?: Var*&
var
z = {1,2}
vipsi> Numeric functions: istextistext(z) = 0 vipsi> Numeric functions: istextistext 771 0 vipsi> Instructions: procproc Test(){} vipsi> Numeric functions: istextistext(Test) 0 vipsi>

Valid HTML   Valid CSS