<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-increment a numeric Glossary: Variable, var_refvariable.
Operators: Pre- and Postincrement "++"Preincrement increments 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 incremented Glossary: Valuevalue as result.
Operators: Pre- and Postincrement "++"Postincrement increments 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 incremented 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=0; Flow control: do … loopdo Flow control: whilewhile i<10; Instructions: putput i++; Flow control: do … looploop
|