<number> = Numeric functions: countcount <text>
<number> = Numeric functions: countcount <list>
<number> = Numeric functions: countcount ( <text> )
<number> = Numeric functions: countcount ( <list> )
Querry Flow control: if … then Flow control: try … thenthe Glossary: number, num_valnumber of elements in a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or in a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist.
Flow control: returnReturns a numeric Glossary: Valuevalue.
You can also Numeric functions: countcount Flow control: if … then Flow control: try … thenthe Glossary: number, num_valnumber of entries in a directory Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or Flow control: if … then Flow control: try … thenthe dir: lengthlength of a Text functions: file Instructions: filefile. But List functions: thisthis effectively works, because Flow control: if … then Flow control: try … thenthe Vipsi command syntax: Functions Functions Glossary: Functionfunction List functions: dir Instructions: dir Shell Immediate Commands: dirdir returens a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Vipsi command syntax: Functions Functions Glossary: Functionfunction Text functions: file Instructions: filefile Flow control: returnreturns a Glossary: text, text_valtext value. (Version 0.8.7) List functions: thisThis will be improved.
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: countcount List functions: globals Shell Immediate Commands: globalsglobals 0
vipsi> Numeric functions: countcount{1,2,3,4,5} 5
vipsi> Numeric functions: countcount "12345" 5
vipsi> Numeric functions: countcount List functions: env Shell Immediate Commands: env Shell Immediate Commands: envenv 40
vipsi> Numeric functions: countcount List functions: dir Instructions: dir Shell Immediate Commands: dirdir "." 26
vipsi>
|