vipsi - the friendly vip script interpreter

Operators

Multiply "*"

<number> = <number> * <number>

Operators: Multiply to Variable "*="
Operators: Multiply "*"
Multiply
two numeric Glossary: Valuevalues.

Operators: Multiply to Variable "*="
Operators: Multiply "*"
Multiply
two numeric Glossary: Valuevalues Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
Glossary: text, text_valtext values, which are converted to Data Types: Numbersnumbers, results in a Glossary: number, num_valnumber. Flow control: if … thenIf one Glossary: Operator
Glossary: Operand
operand
is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
the
result is a Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
, where Flow control: if … then
Flow control: try … then
the
operation was applied to all items. Flow control: if … thenIf both are Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
lists
, they should Numeric functions: matchmatch in size Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
Flow control: if … then
Flow control: try … then
the
operation is applied to all matching items. Unmatched items are copied 'as is'.

e.g.:

vipsi> 4*5  = 20
vipsi> Instructions: putput {4,5}*3  = { 12, 15 }
vipsi> Instructions: putput {4,5}*{2,3}  = { 8, 15 }
vipsi>  
Other usage

'*' is also used as a Operators: Multiply "*"wildcard in patterns for Numeric functions: matchmatch Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
.

e.g.

Instructions: var
How does VScript::Value() work?: Var*&
var
cafélogo = List functions: dir
Instructions: dir
Shell Immediate Commands: dir
dir
("./*.gif")

'*' is also used as a dir: flagsflag for Instructions: deldel to delete all Glossary: Variable, var_refvariables in Flow control: if … then
Flow control: try … then
the
Instructions: Local scope "{}"local scope.

e.g.:

Instructions: deldel *

'*' is also used as a dir: flagsflag in Flow control: if … then
Flow control: try … then
the
parameter Data Types: Lists and arrays
Item selector "[]": Lists
Glossary: list, list_val
list
of Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedures
to accept any Glossary: number, num_valnumber of Vipsi command syntax: Arguments
Glossary: Arguments
arguments
.

e.g.:

Instructions: procproc zähle(a,*)
{
    Instructions: putput "a=", a, " "
    Instructions: putput "argc=", Numeric functions: countcount List functions: localslocals, Constants: nlnl
}

Valid HTML   Valid CSS