mber> = Numeric functions: isprocisproc <value>
mber> = Numeric functions: isprocisproc ( <value> )
Test whether Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Arguments Glossary: Argumentsargument is a Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedure 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 … 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: isprocisproc 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") = 0
vipsi> Numeric functions: istextistext({}) = 0
vipsi> Numeric functions: istextistext 771 0
vipsi> Instructions: procproc Test(){}
vipsi> Numeric functions: istextistext(Test) 1
vipsi>
|