vipsi - the friendly vip script interpreter

Functions

Numeric functions

charcode

<number> = Numeric functions: charcodecharcode <text>

Querry Flow control: if … then
Flow control: try … then
the
unicode character code of a character.

Flow control: returnReturns a numeric Glossary: Valuevalue.

Text functions: convert
Instructions: convert
Converts
Flow control: if … then
Flow control: try … then
the
first character of <text> to Flow control: if … then
Flow control: try … then
the
numeric unicode character code. Flow control: if … then
Flow control: if … then
If the
Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
is an empty Data Types: Text
Item selector "[]": Text
Glossary: text, text_val
text
, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
result is 0.

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: charcodecharcode "€"  = 8364
vipsi> Numeric functions: charcodecharcode "A"  = 65
vipsi>  

Valid HTML   Valid CSS