vipsi - the friendly vip script interpreter

Operators

Bitwise Exclusive Or with Variable "^="

<num_var> ^= <number>

Operators: Bitwise Exclusive Or "^"Bitwise 'exclusive or' of <variable> Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
<value>.

Calculate result of Operators: Bitwise Exclusive Or "^"bitwise 'exclusive or' Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
store result in Glossary: Variable, var_refvariable. Bitwise Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
work on 32 bits. (version 0.8.7) Flow control: if … thenIf you need less, you must mask Flow control: if … then
Flow control: try … then
the
result.

Operators: Assignment "="
Built-in operators: Assignments:
Assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
are right-oriented, that means: Flow control: if … thenif multiple Operators: Assignment "="
Built-in operators: Assignments:
assignments
are made in one Vipsi command syntax: Expressions
Glossary: Expression
expression
, they are evaluated right-to-left.

Both Glossary: Operator
Glossary: Operand
operands
must be numeric Operators: Boolean And with Variable "&&="
Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Operators: Boolean And "&&"
and
are forced to integer. Flow control: if … thenIf any of both Vipsi command syntax: Arguments
Glossary: Arguments
arguments
is a Data Types: Text
Glossary: text, text_val
text
, Flow control: if … then
Flow control: try … then
then
it is evaluated as Glossary: number, num_valnumber. Flow control: if … then
Flow control: if … then
If the
conversion fails Flow control: if … then
Flow control: try … then
then
an error is generated.

Flow control: if … thenIf any of both is a Data Types: Lists and arrays
Glossary: list, list_val
list
, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
operation is performed on all items. Recursively.

e.g.:

i> Instructions: var
How does VScript::Value() work?: Var*&
var
a = 23 i> a ^= 5 o> 18 i> a ^= {"77",2,3} o> = { 95, 16, 17 } i> <>

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
:
all Operators: Assignment "="
Built-in operators: Assignments:
assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
may be changed, so that Flow control: if … then
Flow control: try … then
the
Flow control: do … loopdo no longer Flow control: returnreturn a result Glossary: Valuevalue. There are syntactical ambiguities with Flow control: if … then
Flow control: try … then
the
"=" Numeric functions: signsign e.g. in Literals: List literals
Lists and arrays: List literals
list literals
. Changing Flow control: if … then
Flow control: try … then
the
result to 'no Glossary: Valuevalue' will also allow named items in other places, e.g. passing named Vipsi command syntax: Arguments
Glossary: Arguments
arguments
to Vipsi command syntax: Procedures
Data Types: Procedures
Glossary: Procedure
procedures
for a obj-C-like syntax. Also, Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
printing results of Operators: Assignment "="
Built-in operators: Assignments:
assignments
in Flow control: if … then
Flow control: try … then
the
shell would become more clear.

Valid HTML   Valid CSS