<num_var> ||= <number>
Operators: Boolean Or with Variable "||=" Operators: Boolean Or "||"Boolean '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: Boolean Or with Variable "||=" Operators: Boolean Or "||"boolean '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.
Operators: Assignment "=" Built-in operators: Assignments:Assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperators 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: Expressionexpression, they are evaluated right-to-left.
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 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.
Pruning Operators: Bitwise Not "~" Operators: Boolean Negation "!"not yet implemented. Data Types: Lists and arrays Glossary: list, list_valList expansion Operators: Bitwise Not "~" Operators: Boolean Negation "!"not yet implemented. (Version 0.8.7)
e.g.:
Instructions: var How does VScript::Value() work?: Var*&var a = 0
a ||= 0
a ||= 1
Operators: Bitwise Not "~" Operators: Boolean Negation "!"Note: all Operators: Assignment "=" Built-in operators: Assignments:assignment Vipsi command syntax: Operators Operators Glossary: Operatoroperators may be changed, so that Flow control: if … then Flow control: try … thenthe 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 … thenthe "=" Numeric functions: signsign e.g. in Literals: List literals Lists and arrays: List literalslist literals. Changing Flow control: if … then Flow control: try … thenthe result to 'no Glossary: Valuevalue' will also allow 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. 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 … thenthe shell would become more clear.
|