<number> = --<num_var>
<number> = <num_var>--
Pre- Operators: Boolean Or with Variable "||=" Operators: Bitwise Or with Variable "|=" Operators: Bitwise Or "|" Operators: Boolean Or "||"or post-decrement a numeric Glossary: Variable, var_refvariable.
Operators: Pre- and Postdecrement "--"Predecrement decrements Flow control: if … then Flow control: try … thenthe Glossary: Variable, var_refvariable by 1 Operators: Boolean And with Variable "&&=" Operators: Bitwise And with Variable "&=" Operators: Bitwise And "&" Operators: Boolean And "&&"and Flow control: if … then Flow control: try … thenthen Flow control: returnreturns Flow control: if … then Flow control: try … thenthe decremented Glossary: Valuevalue as result.
Operators: Pre- and Postdecrement "--"Postdecrement decrements Flow control: if … then Flow control: try … thenthe Glossary: Variable, var_refvariable by 1 but Flow control: returnreturns Flow control: if … then Flow control: try … thenthe not-yet decremented Glossary: Valuevalue as result.
Flow control: if … then Flow control: if … thenIf the target Glossary: Variable, var_refvariable is a Data Types: Text Item selector "[]": Text Glossary: text, text_valtext, Flow control: if … then Flow control: try … thenthen it is converted to a Glossary: number, num_valnumber first.
Flow control: if … then Flow control: if … thenIf the target Glossary: Variable, var_refvariable is a Data Types: Lists and arrays Item selector "[]": Lists Glossary: list, list_vallist, Flow control: if … then Flow control: try … thenthen Flow control: if … then Flow control: try … thenthe operation is performed on all items. Recursively.
e.g.:
Instructions: var How does VScript::Value() work?: Var*&var i=10; Flow control: do … loopdo Flow control: whilewhile i>0; Instructions: putput --i; Flow control: do … looploop
|