mber> = Numeric functions: istextistext <value>
mber> = Numeric functions: istextistext ( <value> )
Test whether Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Arguments Glossary: Argumentsargument 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 … thenIf the Glossary: Valuevalue is a Glossary: Variable, var_refvariable reference, Flow control: if … then Flow control: try … thenthen 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: 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: 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>
|