<number> = Numeric functions: charcodecharcode <text>
Querry Flow control: if … then Flow control: try … thenthe unicode character code of a character.
Flow control: returnReturns a numeric Glossary: Valuevalue.
Text functions: convert Instructions: convertConverts Flow control: if … then Flow control: try … thenthe first character of <text> to Flow control: if … then Flow control: try … thenthe numeric unicode character code. Flow control: if … then Flow control: if … thenIf the Data Types: Text Item selector "[]": Text Glossary: text, text_valtext is an empty Data Types: Text Item selector "[]": Text Glossary: text, text_valtext, Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe result is 0.
As with all Vipsi command syntax: Functions Functions Glossary: Functionfunctions which accept exactly one Vipsi command syntax: Arguments Glossary: Argumentsargument Flow control: if … then Flow control: try … thenthe 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 … thenif the Vipsi command syntax: Arguments Glossary: Argumentsargument is no Vipsi command syntax: Expressions Glossary: Expressionexpression with Vipsi command syntax: Operators Operators Glossary: Operatoroperators.
e.g.:
vipsi> Numeric functions: charcodecharcode "€" = 8364
vipsi> Numeric functions: charcodecharcode "A" = 65
vipsi>
|