vipsi - the friendly vip script interpreter

Operators

Bitwise And with Variable "&="

<num_var> &= <number>

Operators: Bitwise And with Variable "&="
Operators: Bitwise And "&"
Bitwise 'and
' 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 And with Variable "&="
Operators: Bitwise And "&"
bitwise 'and
' 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 64 bit integers. Flow control: if … thenIf you need less, you must mask Flow control: if … then
Flow control: try … then
the
result.

Depending on Flow control: if … then
Flow control: try … then
the
Number literals: Floating pointfloating point format selected Operators: Make Identifier "@"at compile time, Flow control: if … then
Flow control: try … then
the
precision may be less than 64 bit. 53 bit is common for 8-byte-floats.

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
Item selector "[]": 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
Item selector "[]": Lists
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.:

Instructions: var
How does VScript::Value() work?: Var*&
var
a = 23 a &= 5 a &= {"-1",2,3}

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
:
Operators: Assignment "="
Built-in operators: Assignments:
Assignment
Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
Flow control: do … loopdo Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
not
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
. List functions: thisThis also allows 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. (planned for Flow control: if … then
Flow control: try … then
the
future)

Operators: Bitwise Not "~"
Operators: Boolean Negation "!"
Note
:
Bitwise Vipsi command syntax: Operators
Operators
Glossary: Operator
operators
work on 64 bit integers. Flow control: if … thenIf you need less, you must mask Flow control: if … then
Flow control: try … then
the
result.

Depending on Flow control: if … then
Flow control: try … then
the
Number literals: Floating pointfloating point format selected when compiling vipsi, Flow control: if … then
Flow control: try … then
the
precision may be less than 64 bit. 53 bit is common for 8-byte-floats.

Negative Data Types: Numbersnumbers are taken by their -1 Operators: Bitwise Not "~"complement, which is common for Number literals: Integer numbersinteger numbers.

Flow control: if … thenIf both Vipsi command syntax: Arguments
Glossary: Arguments
arguments
of a bitwise operation are positive, Flow control: if … then
Flow control: try … then
then
Flow control: if … then
Flow control: try … then
the
result is positive too in all cases.
Flow control: if … thenIf one Operators: Boolean Or with Variable "||="
Operators: Bitwise Or with Variable "|="
Operators: Bitwise Or "|"
Operators: Boolean Or "||"
or
both are negative, List functions: thisthis depends on Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
, though it's Shell Immediate Commands: exit, quit, endquite simple: Flow control: if … then
Flow control: if … then
If the
result is negative in an infinite-wide integer, Flow control: if … then
Flow control: try … then
the
result of Flow control: if … then
Flow control: try … then
the
Vipsi command syntax: Operators
Operators
Glossary: Operator
operator
is negative; e.g. +a^-a is negative.

Valid HTML   Valid CSS