<num_var> &&= <number>
Operators: Boolean And with Variable "&&=" Operators: Boolean And "&&"Boolean '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: Boolean And with Variable "&&=" Operators: Boolean And "&&"boolean '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.
Both Glossary: Operator Glossary: Operandoperands must be numeric. Flow control: if … thenIf any of both Vipsi command syntax: Arguments Glossary: Argumentsarguments is a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext, Flow control: if … then Flow control: try … thenthen it is evaluated as Glossary: number, num_valnumber. Flow control: if … then Flow control: if … thenIf the conversion fails Flow control: if … then Flow control: try … thenthen an error is generated.
Boolean Vipsi command syntax: Operators Operators Glossary: Operatoroperators are pruning (skipping) Flow control: if … then Flow control: try … thenthe second Vipsi command syntax: Arguments Glossary: Argumentsargument, Flow control: if … then Flow control: if … thenif the result is already defined by Flow control: if … then Flow control: try … thenthe result of Flow control: if … then Flow control: try … thenthe first Vipsi command syntax: Arguments Glossary: Argumentsargument. For boolean '&&' List functions: thisthis means, Flow control: if … then Flow control: if … thenif the first Vipsi command syntax: Arguments Glossary: Argumentsargument is 0.
e.g.:
Instructions: var How does VScript::Value() work?: Var*&var a = 1
a &&= 1
a &&= 0
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: Operators: Assignment "=" Built-in operators: Assignments:Assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperators 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 … thenthe "=" Numeric functions: signsign e.g. in Literals: List literals Lists and arrays: List literalslist literals. List functions: thisThis also allows named items in other places, e.g. passing named Vipsi command syntax: Arguments Glossary: Argumentsarguments to Vipsi command syntax: Procedures Data Types: Procedures Glossary: Procedureprocedures for a obj-C-like syntax. (planned for Flow control: if … then Flow control: try … thenthe future)
|